Should CSS Grid Be Your Default Choice Over Flexbox In 2024?

Tom Smykowski
6 min readSep 4, 2024

The default answer to every question in a title is no. But since you’re here you can read why, and make more informed decisions about layout systems you use. For the benefit of you, and other developers

What lately keeps me awake is that some think that 3000 years ago our brains collectively changed, and we started to consider the voice in our head and emotions as ours, rather than coming from outside. Specifically these questions keep me awake:

  • When will be the next development jump of our brains?
  • Is anything that stops it?
  • What will be the next step?

Don’t you think a species with so many scientific toys should be more developed?

But it’s not the question that gathered us here. We’ll talk about grid and flexbox layouts. We can use these without development jumps right now :)

This article was brought to you thanks to 18 thousand people who follow me on Medium.

People familiar with the subject of frontend development are quite familiar with the possibilities available to arrange stuff with CSS. Most of developers should also know flexbox and grid in 2024.

So I was quite demour that it’s an obvious topic. But as it appears it’s not. First I was presented with a video where…

--

--

Tom Smykowski
Tom Smykowski

Written by Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.