HackerTubewatch
Surprise me
Frame from Flexbox vs. CSS Grid — Which is Better? Plays via YouTube's privacy-enhanced embed

Flexbox vs. CSS Grid — Which is Better?

Layout Land
Explainers
YouTube
3 HN users recommended this explainer3 months2018–2020 score 3.5
Years with an HN recommendation, 2007–2026

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

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.

“Here's a great explanation from Jen Simmons that really helped me understand the differences” (HN, 2018)

1 strong recommendations · 3 recommendations · Explainers · intro

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@Deimorz May 2018 Recommends
on HN thread Best Practices with CSS Grid Layout
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]
Shows the difference between one-dimensional flexbox and two-dimensional grid.
@JamesSwift Apr 2020 Recommends
on HN thread Ask HN: Resources to learn basic UI layout design for React apps?
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]
Good rundown of what flexbox and grid do and do not do.

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close