Classes
Class | Description |
---|---|
flex |
Establishes a flex container, enabling a flexible box layout for its child elements. |
flex-row |
Sets the flex container to a row direction, arranging child elements horizontally along the main axis. |
flex-col |
Sets the flex container to a column direction, arranging child elements vertically along the main axis. |
justify-between |
Aligns items along the main axis with space distributed between them, achieving equal spacing between child elements. |
items-center |
Aligns items along the cross axis at the centre, ensuring vertical alignment of child elements in the flex container. |
flex-shrink-0 |
Prevents an element from shrinking beyond its initial size when there is limited space in the flex container. |
flex-grow |
Allows an element to grow and fill available space along the main axis within the flex container. |
Contact Us