CSS Flex-Box
CSS Flex-Box
Flex Properties:
flex-direction: Determines the main axis direction (row, row-reverse, column, column-
reverse).
flex-wrap: Controls whether items wrap onto new lines (nowrap, wrap, wrap-reverse).
justify-content: Aligns items along the main axis (flex-start, flex-end, center, space-between,
space-around).
align-items: Aligns items along the cross axis (flex-start, flex-end, center, baseline, stretch).
align-content: Distributes space when there's extra space in the cross axis (flex-start, flex-
end, center, space-between, space-around, stretch).
flex-shrink: Specifies how items shrink when there's not enough space.