Skip to content
HHackerTube.videoSurprise me

Flexbox vs. CSS Grid — Which is Better?

Flexbox vs. CSS Grid — Which is Better? on HackerTube: recommended by 3 Hacker News commenters across 3 separate months, 2018–2020.

Layout Land

explainer · intro · evergreen

Open on YouTube

Jen Simmons explains the difference between CSS Flexbox and CSS Grid, and when to use each. She makes the case that Grid does not replace Flexbox and most sites use both.

Why Hacker News recommends it

Recommended as a short, clear rundown of one-dimensional versus two-dimensional layout.

people recommended it
3
separate months
3
strong recommendations
1
discussed on HN
2018–2020
“Here's a great explanation from Jen Simmons that really helped me understand the differences”
— ljoshua, Jul 2018, in “Show HN: Layoutit – An interactive CSS Grid generator”

What HN commenters said

4 Hacker News comments link this video. Each one links back to its thread.

ljoshuaJul 2018Strongly recommends

Here's a great explanation from Jen Simmons that really helped me understand the differences and respective strengths and weaknesses of each: ▶ this video

in “Show HN: Layoutit – An interactive CSS Grid generator” · View on HN

JamesSwiftApr 2020Recommends

Grid is awesome, and I highly recommend learning what it can do for you. That said, they serve different purposes. However, between the two of them they address 97% of my needs on the frontend. This[1] is a good rundown of what the two do/dont do. [1] - ▶ this video

in “Ask HN: Resources to learn basic UI layout design for React apps?” · View on HN

JamesSwiftApr 2020Recommends

The two occupy a venn diagram of functionality. They do some stuff the same, but they also both do unique things the other doesnt. See this for a good rundown: ▶ this video

in “Ask HN: Resources to learn basic UI layout design for React apps?” · View on HN

DeimorzMay 2018Recommends

They serve different purposes, and you'll often want to use both for different pieces of the layout. Flexbox is for laying things out in one dimension, Grid is more for two-dimensional ones. This video might help show the difference (and all the Layout Land videos are great if you want to look more into CSS grid): ▶ this video

in “Best Practices with CSS Grid Layout” · View on HN

Topics & tags

Web developmentcss gridflexboxcssweb layoutjen simmons