CSS :: Flex Box
Shyam Kunda
1 min read
This articles has working examples of flex box
Flex Containers
flex-direction :: row (default) & Column
flex-direction | flex-wrap | flex-flow
Justify-Content
justify-content is focused on main axis(row axis)
Below code shows the all examples of justify-cotent
Flex box : align-items
align-items focused on cross access(column)
align-items :: baseline
align-content
align-content determines the spacing between lines
align-items determines how the items as a whole are aligned within the container.
When there is only one line, align-content has no effect
0
Subscribe to my newsletter
Read articles from Shyam Kunda directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by