W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-grid-2] Masonry layout (#4650)

From: Ilya Streltsyn via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 May 2020 10:26:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-624566229-1588760764-sysbot+gh@w3.org>
Considering the original @desandro's Masonry library a kind of reference implementation, I believe that native CSS solution should cover as many its [use cases](https://masonry.desandro.com/options.html) as possible. In my opinion, items spanning multiple columns are the essential part of the masonry layout concept, so limiting it with single-column items, as it would be inevitable with Flexbox approach, is not a way to go. While I understand the concerns about extra complexity that mixing Masonry stuff into Grid would bring, I wholeheartedly agree with @jensimmons's point about practical benefits of reusing the built-in Grid tools to control the layout of Masonry items.

After all, the subtitle of the Masonry library homepage itself states that it is the "Cascading _grid layout_ library"... :)

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4650#issuecomment-624566229 using your GitHub account
Received on Wednesday, 6 May 2020 10:26:07 UTC

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