Manuel Matuzovic makes the point that in order to use CSS grid in some fairly simple markup scenarios, we might be tempted to flatten our HTML to make sure all the elements we need to can participate on the grid. What we need is subgrid and non-buggy display: contents;
, so I’d like to think in a year or so we’ll be past this.
The Dark Side of the Grid
UGURUS offers elite coaching and mentorship for agency owners looking to grow. Start with the free Agency Accelerator today.
today I learned about Manuel Mat. and his TIL section on his site is amazing, I needed to know everything he learned, aside from ie11 flexbox hell.
Im jumping back into CSS and grids and flexbox wasnt a thing then. Should I still stick to making my own responsive layouts without grids and flexbox? Thanks
You can certainly get away without learning Grid in the near-term, but it’s well worth learning. If you need to support IE11 then it’s still usable, but the complexity skyrockets.
Flexbox, on the other hand, I would consider essential. It’s just too useful.