Accordion Rows in CSS Grid
I’d bet grid-template-columns
is used about 10× more than grid-template-rows
, but maybe everyone has just been missing out. Eric Meyer chucks a bunch of row lines onto his main site layout grid like this:
grid-template-rows: repeat(7, min-content) 1fr repeat(3,
…