From 9232b8d817d4cd4122947375156fa2fa1e9fba14 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Mon, 13 Jan 2025 13:16:06 +0100 Subject: vault backup: 2025-01-13 13:16:06 --- Kast/1736693605 flex layout.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Kast/1736693605 flex layout.md (limited to 'Kast/1736693605 flex layout.md') diff --git a/Kast/1736693605 flex layout.md b/Kast/1736693605 flex layout.md new file mode 100644 index 0000000..22008e5 --- /dev/null +++ b/Kast/1736693605 flex layout.md @@ -0,0 +1,4 @@ +The flexbox layout is a single axis layout that makes it easy to layout content on a given axis. + +`flex-direction: column;` sets Y as the main axis, and X as the cross axis. +`flex-direction: row;` sets X as the main axis, and Y as the cross axis. -- cgit v1.2.3