diff options
Diffstat (limited to 'Kast/1736693605 flex layout.md')
-rw-r--r-- | Kast/1736693605 flex layout.md | 4 |
1 files changed, 4 insertions, 0 deletions
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. |