CSS Grid vs Flexbox

Discussions debate the merits of CSS Grid and Flexbox for web layouts, comparing them to each other and traditional grid systems like Bootstrap, with opinions on which is superior or sufficient for modern needs.

📉 Falling 0.4x Web Development
3,481
Comments
20
Years Active
5
Top Authors
#9068
Topic ID

Activity Over Time

2007
7
2008
31
2009
60
2010
86
2011
178
2012
164
2013
168
2014
191
2015
125
2016
173
2017
315
2018
373
2019
284
2020
270
2021
193
2022
213
2023
199
2024
269
2025
164
2026
18

Keywords

JS BS getskeleton.com MUI tufte.css UI IE6 IMO google.com codepen.io grid css flexbox grids layout 2d flex layouts framework float

Sample Comments

bbmario Jan 4, 2020 View on HN

Do you even need stuff like this when we have CSS Grid now?

shripadk Apr 9, 2020 View on HN

Just you CSS Grid. You don't need a layout library anymore. CSS Grid is sufficient for all needs!

z1mm32m4n Mar 4, 2015 View on HN

What frameworks are making good strides in adopting flexbox for their grid systems?

mediumsmart Jan 6, 2025 View on HN

Why struggle with flexbox when you have a real grid

dsego Jan 4, 2022 View on HN

what's wrong with that? don't grid and flexbox feel like that as well?

zozbot234 Jun 2, 2021 View on HN

That's what CSS Grid is for.

treve Sep 6, 2016 View on HN

Stop using grids and use flexbox instead!

baby Jun 10, 2013 View on HN

What is that sorcery! Why are we not using this instead of grid systems?

nicoburns Oct 25, 2018 View on HN

CSS grid is a big improvement here though.

tiagod Jan 11, 2023 View on HN

What's stopping you? We've had flexbox and grid for quite a while now.