W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

[csswg-drafts] [css-grid][css-flexbox] Pinterest/Masonry style layout support

From: Rachel Andrew via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 Jan 2017 18:49:06 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-201094132-1484592544-sysbot+gh@w3.org>
rachelandrew has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-grid][css-flexbox] Pinterest/Masonry style layout support ==
I'm getting frequent questions about whether Grid can handle a Masonry
 style layout using auto-placement. 

You can see a good example, along with some author use cases 
[here](https://github.com/rachelandrew/cssgrid-ama/issues/19#issue-201073253).

Currently the closest you can get with CSS to this type of layout is 
to use multi-col however the items then flow top to bottom rather than
 across the rows. 

This feels more like a behaviour of flexbox than grid, as the solution
 is very much based on the size of the items. Opening this in order to
 record the feature request/use case for future discussion.




Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/945 using your GitHub 
account
Received on Monday, 16 January 2017 18:49:12 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:07 UTC