R
5

Rant: I thought CSS grid was overhyped until I tried it on a real project

I spent like 3 hours fighting with floats and flexbox for a simple 3-column layout last weekend. Finally gave in and used CSS grid, got it working in 10 minutes flat. Has anyone else wasted time avoiding something that actually makes things easier?
2 comments

Log in to join the discussion

Log In
2 Comments
the_jason
the_jason15d ago
Yeah grid handles both layout and responsive in one go, no need for container queries.
10
emma_burns96
That 3 hours of fighting with floats sounds painfully familiar. Did you try any container queries during that time, or just straight flexbox? Curious if grid solved both the layout and the responsive breakpoints in one shot.
2