T
10

Finally got CSS Grid subgrid to work after ignoring it for like 6 months

I kept seeing people talk about subgrid and thought it was just another feature I'd never use in real projects. Then I tried building a card layout where the content inside each card had to line up across rows and subgrid made it happen in 2 lines of code. Has anyone else found a specific use case that made subgrid finally click for them?
2 comments

Log in to join the discussion

Log In
2 Comments
miller.susan
I read some blog that called subgrid the missing puzzle piece for form layouts.
4
danieljenkins
danieljenkins3d agoTop Commenter
3 years of form headaches fixed by @miller.susan's point and 2 lines of CSS.
3