Grid Auto Columns
Controls the size of grid columns created implicitly.
Class | Property |
---|---|
gac-min | grid-auto-columns: min-content; |
gac-max | grid-auto-columns: max-content; |
gac-auto | grid-auto-columns: auto; |
Min Content
Sets the size of implicitly created columns to the minimum content size.
A long piece of text
B
C
Max Content
Sets the size of implicitly created columns to the maximum content size.
A long piece of text
B
C
Auto
Sets the size of implicitly created columns to adjust automatically based on the available space.
A long piece of text
B
C
Using responsive modifiers
Using responsive breakpoints like sm:gac-*
,
md:gac-*
, lg:gac-*
, and xxl:gac-*
allows targeting specific utilities in
different viewports.
Using hover modifiers
Using :hover
modifiers such as h:gac-*
allows
you to override elements and change their values when hovering over them.