Skip to main content

Command Palette

Search for a command to run...

CSS :: Flex Box

Updated
•1 min read•View as Markdown
CSS :: Flex Box

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

More from this blog

Shyam Kunda

26 posts

Software developer. Expert in designing Test Automation Solutions with Good reporting and Analytical features.