Flexbox
Goal
- âš¡ Learn Flexbox
What is Flexbox ?
The Flexible Box Module, usually referred to as flexbox, was designed as a one-dimensional layout model, and as a method that could offer space distribution between items in an interface and powerful alignment capabilities.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
By using Flexbox, it will be easier to make complicated layout like below image.
Ref: https://www.w3schools.com/css/css3_flexbox.asp
Try Flexbox
Okay so, let's try basic Flexbox.
We're doing the same thing which is introduced in this link.
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
Prepare Flexbox playground
Make flexbox-test.html
in css-test
folder.
This is a image of layout without Flexbox.
Try it here...
Recording how to imitate https://css-tricks.com/snippets/css/a-guide-to-flexbox/
align-content
This is easy to understand align-content
https://www.w3schools.com/css/tryit.asp?filename=trycss3_flexbox_align-content_space-between