item-flow

 The Webkit team is pitching a new idea called item-flow:

The suggestion isn’t to combine all of Flexbox with all of Grid — but rather to create a new set of properties and values to “replace” specifically the flex-flow and grid-auto-flow properties. (You will always be able to use the older syntax if you prefer.) Think how originally the Alignment properties and the gap property were defined to work only in one layout system, and then later got modified and extended to work in multiple layout contexts.

Several of us here at Apple got together and started figuring out how a such unified system for layout *-flow could work. We decided to tentatively name the shorthand item-flow. It’d be the main property from which the longhands and values follow. Together, the new rules would all control the direction of flow, how items wrap, how items pack, whether or not there’s “slack” in the layout, and more.

I really, really like this idea. All of the flow-like properties of Flexbox and Grid today feel overwhelming and unnecessarily complicated whereas this proposal tidies things up precisely in the same way that gap did a few years ago. This is one of those rare ideas that makes me bolt upright because of how obviously straightforward and simple it is!

During the drama about masonry-styled layouts with CSS, neither approach felt right to me. Both sides had good points but I felt like I had to pick a side and yet I didn’t really care enough to think through the messy details of it all. But what I think item-flow proves here is that both sides were wrong! Both arguments were trying to bolt masonry layouts onto existing CSS layout systems in the wrong way, instead of cleaning and consolidating the mess we already have.

Thankfully, item-flow cleans things up in an elegant way that I’m real excited about.

Robin Rendle

30 Mar 2025 at 16:56



Refresh complete

ReloadX
Home
(146) All feeds

Last 24 hours
Download OPML
A Very Good Blog by Keenan
*
A Working Library
Alastair Johnston
Anna Havron
*
Annie
*
Annie Mueller
Apple Annie's Weblog
*
Articles – Dan Q
*
Baty.net posts
*
bgfay
*
Bix Dot Blog
*
Brandon's Journal
Chris Coyier
Chris Lovie-Tyler
Chris McLeod's blog
*
Colin Devroe
*
Colin Walker – Daily Feed
Content on Kwon.nyc
*
Crazy Stupid Tech
daverupert.com
Dino's Journal 📖
dispatches
dominikhofer dot me
Excursions
*
Flashing Palely in the Margins
Floating Flinders
For You
*
Frank Meeuwsen
frittiert.es
Hello! on Alan Ralph
*
Human Stuff from Lisa Olivera
inessential.com
*
jabel
Jake LaCaze
*
James Van Dyne
Jan-Lukas Else
*
Jim Nielsen's Blog
Jo's Blog
*
Kev Quirk
lili's musings
*
Live & Learn
Lucy Bellwood
Maggie Appleton
*
Manton Reece
*
Manu's Feed
*
maya.land
Meadow
Minutes to Midnight RSS feed
Nicky's Blog
*
Notes – Dan Q
*
On my Om
Own Your Web
Paul's Dev Notes
*
QC RSS
*
rebeccatoh.co
reverie v. reality
*
Rhoneisms
ribbonfarm
Robert Birming
*
Robert Birming
*
Robin Rendle
Robin Rendle
Sara Joy
*
Scripting News for email
Sentiers – Blog
*
Simon Collison | Articles & Stream
strandlines
Tangible Life
the dream machine
*
The Torment Nexus
*
thejaymo
theunderground.blog
Thoughtless Ramblings
tomcritchlow.com
*
Tracy Durnell
*
Winnie Lim
*
yours, tiramisu
Žan Černe's Blog

About Reader


Reader is a public/private RSS & Atom feed reader.


The page is publicly available but all admin and post actions are gated behind login checks. Anyone is welcome to come and have a look at what feeds are listed — the posts visible will be everything within the last week and be unaffected by my read/unread status.


Reader currently updates every six hours.


Close

Search




x
Colin Walker Colin Walker colin@colinwalker.blog