|
|
|
|
|
by lazyjeff
2460 days ago
|
|
So is it just me or is the syntax for css grid a bit clunky? I'm talking about specifying ranges using "1 / 4" to mean 1-3 inclusive, or having to separately specify grid-template-rows and grid-template-columns each time. It makes it both hard to learn in the first place, but also hard to remember for casual users (people who use it once a month or so for a new design). Tables don't have the same issue -- once you learn the syntax for tables, you never forget. And even bootstrap is a bit more memorable. But css grid always requires a few trips to stack overflow. Everything else about it is fantastic, but I wish they thought more about intermittent users. |
|
https://developer.mozilla.org/en-US/docs/Web/CSS/grid-templa...
And, if you find yourself repeating yourself, you can use variables!