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: Andy Barefoot via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 Dec 2017 18:18:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-351139530-1513102715-sysbot+gh@w3.org>
@trondolsen Exactly. The items can only be values of (rowheight*x)+(rowgap*(x-1)) which means you may get get some unwanted whitespace under your content but you can minimize this by choosing small values of rowheight and rowgap. 
The positioning is taken care of by CSS Grid which automatically positions them in default "masonry" order. 

-- 
GitHub Notification of comment by andybarefoot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/945#issuecomment-351139530 using your GitHub account
Received on Tuesday, 12 December 2017 18:18:39 UTC

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