summaryrefslogtreecommitdiff
path: root/3 Resources/TailwindCSS
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-01-19 21:14:51 +0100
committerJasper Ras <jras@hostnet.nl>2025-01-19 21:14:51 +0100
commit9642cd7ae24f0ba79ce5647c709b35ae8f06a285 (patch)
treeae25c3b0db7ae4c23186b294c6d000073f085c2d /3 Resources/TailwindCSS
parent969b96c2531fb986f6c7f21fd544391b439defd7 (diff)
vault backup: 2025-01-19 21:14:51
Diffstat (limited to '3 Resources/TailwindCSS')
-rw-r--r--3 Resources/TailwindCSS/Container.md2
-rw-r--r--3 Resources/TailwindCSS/Prevent overflow.md3
2 files changed, 5 insertions, 0 deletions
diff --git a/3 Resources/TailwindCSS/Container.md b/3 Resources/TailwindCSS/Container.md
new file mode 100644
index 0000000..4b3e6ca
--- /dev/null
+++ b/3 Resources/TailwindCSS/Container.md
@@ -0,0 +1,2 @@
+The container class basically adds a margin to the left and right sides. If added mx-auto; it divides the margin equally over both sides.
+The margin depends on the current breakpoint. The container max-width is the breakpoints' min-width.
diff --git a/3 Resources/TailwindCSS/Prevent overflow.md b/3 Resources/TailwindCSS/Prevent overflow.md
new file mode 100644
index 0000000..8a4abed
--- /dev/null
+++ b/3 Resources/TailwindCSS/Prevent overflow.md
@@ -0,0 +1,3 @@
+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.