Controls the automatic placement of grid elements.
Class | Property |
gaf-c | grid-auto-flow: column; |
gaf-d | grid-auto-flow: dense; |
gaf-dr | grid-auto-flow: dense row; |
gaf-r | grid-auto-flow: row; |
gaf-rd | grid-auto-flow: row dense; |
Column
Auto-places grid items in a column flow direction.
Column Dense
Auto-places grid items with a dense packing algorithm to fill gaps.
Dense
Combines dense placement with a row flow direction.
Row
Auto-places grid items in a row flow direction.
Row Dense
Combines dense placement with a row flow direction.
Using responsive modifiers
Using responsive breakpoints like sm:gaf-*
,
md:gaf-*
, lg:gaf-*
, and xxl:gaf-*
allows targeting specific utilities in
different viewports.
Using hover modifiers
Using :hover
modifiers such as h:gaf-*
allows
you to override elements and change their values when hovering over them.