All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

CSS Masonry Layouts: Three Competing Proposals for Native Browser Support

By

[email protected] (Gabriel Shoyombo)

1y ago· 10 min readenInsight

Summary

This article explores the ongoing debate in the CSS community about how to implement masonry-style layouts (like Pinterest's grid) natively in CSS. It covers three competing proposals: extending the existing CSS Grid specification, creating a standalone masonry module, and Apple WebKit's "Item Flow" proposal which merges elements of both. The article examines the technical arguments, use cases, and implications for web developers of each approach.

Key quotes

· 3 pulled
You've got a Pinterest-style layout to build, but you're tired of JavaScript. Could CSS finally help?
In one corner is a proposal that extends the existing CSS Grid specification. In the other corner is a second proposal that sets up masonry as a standalone module.
Now, there are three proposals with Apple WebKit's 'Item Flow' as the third option. The first two sides make strong points, and the third one merges them into one.
Snippet from the RSS feed
There were duelling proposals floating around for adding support for masonry-style layouts in CSS. In one corner is a proposal that extends the existing CSS Grid specification. In the other corner is a second proposal that sets up masonry as a standalone

You might also wanna read