6 ms·
On that note, masonry layout is finally coming to CSS: https://drafts.csswg.org/css-grid-3/ https://drafts.csswg.org/css-grid-3/ https://github.com/w3c/csswg-
by o_____________o 5y ago
On that note, masonry layout is finally coming to CSS:
https://drafts.csswg.org/css-grid-3/ https://drafts.csswg.org/css-grid-3/
https://github.com/w3c/csswg-drafts/issues/4650 https://github.com/w3c/csswg-drafts/issues/4650
(Think Pinterest layout with ltr ordering, which is extremely problematic in pure CSS)
- qwertox 5y agoHow does one create the layout? By playing a round of Tetris?
- IgorPartola 5y agoYes but the down button is stuck so you can only go left or right and only a little bit.
- egeozcan 5y agoI think the css grid got too complicated to fit in my brain. I mean not just the usage and the details, that ship has sailed a long time ago anyway. These days, I can't keep in my mind even what it is capable of and how to approach my layout problems. Perhaps embarrassing for a web developer of my experience, or maybe we really need better tools (not just standards!) for layout.
- tomcooks 5y agoI still use float and positioning, it works fine. Slowly integrating flexbox and grid in my work but I'm not in a hurry.
- BadOakOx 5y agoPersonally, I find it easy to use (definitely more predictable for me than flexbox). Grid layout is pretty straightforward and it is easy to understand what to expect. For complicated layouts you can just use the grid-template-areas, so you have a visual representation of your grid in your css directly. https://css-tricks.com/snippets/css/complete-guide-grid/ https://css-tricks.com/snippets/css/complete-guide-grid/ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Grid_Template_Areas https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_La...