add exception for thirds
This commit is contained in:
parent
c3408f08fb
commit
5e1d8b1987
1 changed files with 5 additions and 0 deletions
|
|
@ -32,3 +32,8 @@ to change how empty grid tracks are handled */
|
||||||
--grid-placement: auto-fit;
|
--grid-placement: auto-fit;
|
||||||
--grid-min-item-size: clamp(16rem, 50vw, 28rem);
|
--grid-min-item-size: clamp(16rem, 50vw, 28rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:where(.grid)[data-layout='thirds'] {
|
||||||
|
--grid-placement: auto-fit;
|
||||||
|
--grid-min-item-size: clamp(16rem, 33%, 30rem);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue