From 969b96c2531fb986f6c7f21fd544391b439defd7 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Mon, 13 Jan 2025 18:04:20 +0100 Subject: vault backup: 2025-01-13 18:04:20 --- ...28970 bash join arguments escaped whitespace.md | 3 - Kast/1736635245 tailwindcss container.md | 3 - Kast/1736635545 tailwindcss.md | 3 - ... prevent scrolling when an element overflows.md | 3 - Kast/1736693295 inline vs block html elements.md | 69 ---------------------- Kast/1736707302 Too much notes.md | 2 + 6 files changed, 2 insertions(+), 81 deletions(-) delete mode 100644 Kast/1736628970 bash join arguments escaped whitespace.md delete mode 100644 Kast/1736635245 tailwindcss container.md delete mode 100644 Kast/1736635545 tailwindcss.md delete mode 100644 Kast/1736692773 prevent scrolling when an element overflows.md delete mode 100644 Kast/1736693295 inline vs block html elements.md create mode 100644 Kast/1736707302 Too much notes.md (limited to 'Kast') diff --git a/Kast/1736628970 bash join arguments escaped whitespace.md b/Kast/1736628970 bash join arguments escaped whitespace.md deleted file mode 100644 index cf97464..0000000 --- a/Kast/1736628970 bash join arguments escaped whitespace.md +++ /dev/null @@ -1,3 +0,0 @@ -In [[bash]] we can reference arguments as an array using `$@`. -This isn't what we want when opening a new file for example, e.g `hx "$@"` opens a file for each argument. -We can use `$*` to reference them as a single string, thus `hx "$*"` opens 1 file with the name of all arguments as a single string. diff --git a/Kast/1736635245 tailwindcss container.md b/Kast/1736635245 tailwindcss container.md deleted file mode 100644 index 86df090..0000000 --- a/Kast/1736635245 tailwindcss container.md +++ /dev/null @@ -1,3 +0,0 @@ -The container class in [[1736635545 tailwindcss]] basically adds a margin. If added mx-auto; it splits the margin -over both sides. -The margin depends on the current breakpoint. The container max-width is the breakpoints' min-width. diff --git a/Kast/1736635545 tailwindcss.md b/Kast/1736635545 tailwindcss.md deleted file mode 100644 index 55e6c29..0000000 --- a/Kast/1736635545 tailwindcss.md +++ /dev/null @@ -1,3 +0,0 @@ -Tailwindcss is a utility first CSS framework. It basically provides all things CSS as a seperate class; -so similar to writing inline CSS but then using classes. -It allows for a granular custom design. diff --git a/Kast/1736692773 prevent scrolling when an element overflows.md b/Kast/1736692773 prevent scrolling when an element overflows.md deleted file mode 100644 index 8a4abed..0000000 --- a/Kast/1736692773 prevent scrolling when an element overflows.md +++ /dev/null @@ -1,3 +0,0 @@ -When creating the wedding invitation I had an issue where the page would allow -scroll horizontally because the flower on the top-right was too big. -Adding the tailwindcss class `overflow-hidden` basically hides all parts that overflow from the container. diff --git a/Kast/1736693295 inline vs block html elements.md b/Kast/1736693295 inline vs block html elements.md deleted file mode 100644 index bd72478..0000000 --- a/Kast/1736693295 inline vs block html elements.md +++ /dev/null @@ -1,69 +0,0 @@ -A block element always starts on a new line and automatically have their margin set to a non-zero value. -An inline element, as the name suggests, does not start on a new line and has no automatic margins. It -takes only the space that is required for the content it contains. - -Block elements: --
--
--