Get the latest tech news

New layouts with CSS Subgrid


Subgrid allows us to extend a grid template down through the DOM tree, so that deeply-nested elements can participate in the same grid layout. At first glance, I thought this would be a helpful convenience, but it turns out that it’s <em>so much more.</em> Subgrid unlocks exciting new layout possibilities, stuff we couldn’t do until now. ✨

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of brand

brand

Photo of css subgrid

css subgrid

Photo of new layouts

new layouts

Related news:

News photo

Apple's Brand New M5 MacBook Pro Drops to $1,399.99 for Black Friday ($199 Off)

News photo

Apple's brand-new AirPods Pro 3 are down to their lowest price at just $220

News photo

I've tested the OnePlus 15, and it's more iPhone than ever, but it leans so hard into the brand's best traits that I can't ignore its greatness