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

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

From: Trond Olsen via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Dec 2017 13:20:46 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-350722175-1512998445-sysbot+gh@w3.org>
Here's a slightly generalized version of @andybarefoot suggestion:
- Assumes no column spanning.
- Uses scrollheight to retrieve each element content size, and adding element margin.

![css-grid-layout](https://user-images.githubusercontent.com/6888355/33832717-75d01e6a-de7d-11e7-8491-617d07fc70f0.png)


-- 
GitHub Notification of comment by trondolsen
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/945#issuecomment-350722175 using your GitHub account
Received on Monday, 11 December 2017 13:20:50 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:41 UTC