Loading video...
Video Failed to Load
This is the first time I've seen this used in production - really neat technique! The new Stripe dev site uses a single grid layout of 24 columns and then uses subgrid nested 5-6 levels deep for all its layout.
117,837 views • 2 years ago •via X (Twitter)
10 Comments

A related nifty trick is to encode a "bleeding" and a centered track size + additional padding inside the main grid. Then each subgrid can decide if they go fullscreen or stay centered, while maintaining alignment across.

I love this trick! so many times I've wanted to "break out" of the max-width of a section, and this makes that very easy

died 2016 born 2024 welcome back bootstrap col-md-6

damn dude 960 was over 10 years ago.. 💀

feels like just yesterday. I would even print out the paper grid to wireframe websites

I’m using subgrid for the layout system of my website builder, makes building nested columns so much easier.

Seeing that 960 grid screenshot brought back all the feels.

So basically an Excel spreadsheet

I was optimistically using subgrid for some core layouts but discovered it had some really annoying bugs in Safari! it commonly rendered grid items in the wrong place while the element bounds were correct 🙃

of course 🙃 Did you see if there were any issues logged in webkit bugzilla?
