10 modern layouts in 1 line of CSS

1.2M views · 6 years ago · tutorial · intermediate · evergreen

A Chrome for Developers video showing ten modern page layouts built with a single line of CSS each. It demonstrates techniques such as grid and flexbox patterns, clamped sizing and aspect ratios.

HN people submitted it as a quick tour of how much layout CSS now does in one line, and point to it when layout patterns come up.

5 comments from Hacker News

r
@roleone2021 · in “Modern CSS layouts in 1 line of code [video]”
Submitted the video to Hacker News.
RecommendsView on HN
j
@jerodsanto2020 · in “Modern layouts in 1 line of CSS”
Submitted the video to Hacker News.
RecommendsView on HN
m
@mendyberger2020 · in “Modern layouts in 1 line of CSS”
Submitted the video to Hacker News.
RecommendsView on HN
l
@lemonberry2020 · in “Modern Layouts in 1 Line of CSS”
Submitted the video to Hacker News.
RecommendsView on HN
h
@hamdouni2021 · in “Layout patterns – Collection of layout patterns built using CSS”
This video may be relevant ▶ this video