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

> You can have Grid do Masonry if you know the heights of the items ahead of time.

@tabatkins This is the same approach described in

However, this won't work for images which have an aspect ratio instead of a hardcoded height. The height should change in relation to the column width.

@tabatkins Is there any pure CSS solution for masonry layout that can maintain a defined aspect ratio on each cell?

GitHub Notification of comment by OliverJAsh
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 3 January 2018 17:01:51 UTC