Flex Direction
Controls the direction of flex elements.
Class | Property |
---|---|
fd-c | flex-direction: column; |
fd-cr | flex-direction: column-reverse; |
fd-r | flex-direction: row; |
fd-rr | flex-direction: row-reverse; |
Column
The main axis of the flex container is the same as the block axis.
A
B
C
Column Reverse
It is like a column
, but the main start and main end are opposite the direction of the content.
A
B
C
Row
The main axis of the flex container is set to match the text direction.
A
B
C
Row Reverse
It is similar to row
, but the main start and end points are opposite the direction of the content.
A
B
C
Using responsive modifiers
Using responsive breakpoints like sm:fd-*
,
md:fd-*
, lg:fd-*
, and xxl:fd-*
allows targeting specific utilities in
different viewports.
Using hover modifiers
Using :hover
modifiers such as h:fd-*
allows
you to override elements and change their values when hovering over them.