In CSS, subgrid is something I've heard about but not really gotten around to understanding. Last month, I finally got around to watching @argyleInk's 2022 Google I/O talk on the State of CSS and it covered subgrid really nicely.
Hadn’t quite gotten around to figuring out some ‘recent’ CSS things but @argyleink ’s Google I/O video has a great wrap up and explanation of @ layers, subgrid and more.View on twitter
subgrid looks like it should actually reduce complexity despite being another piece of the layout puzzle. Full bleed images is a design pattern we see across the web, and while it can be achieved with CSS today, BrowserStack have a good article on the topic of subgrid where they break down why it's a bit of a problem at the moment.
Having subgrids reference their parents makes sense, I think, but I need to dig a little deeper to see how this plays out in some real world examples.
|More from 1 Thing A Week|
|« ChatGPT helped me build a functioning todo app!||Money raised for MIND by the team at magLabs||Why is buying a TV such a horrible experience? »|
You can find 1 Thing A Week on Twitter, Facebook, Instagram & Reddit