4 ms·
> With Houdini you could invent your own masonry, grid, or regions implementation, but doing so is not necessarily the best idea. Prediction: that “but...” is
by dragonwriter 6y ago
> With Houdini you could invent your own masonry, grid, or regions implementation, but doing so is not necessarily the best idea.
Prediction: that “but...” is going to be ignored way too much.
- o_____________o 6y agoOn 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 6y agoHow does one create the layout? By playing a round of Tetris?
- IgorPartola 6y agoYes but the down button is stuck so you can only go left or right and only a little bit.
- egeozcan 6y 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 6y 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 6y 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...
- grishka 6y agoI was already contemplating how I'll use these APIs to make Android's three layouts (LinearLayout, FrameLayout, RelativeLayout) to finally stop fighting with the browser to get it to put things where I want them.
- draw_down 6y agoCSS is too powerful. It gives people the ability to intentionally create ugly web pages, with unappealing colors and fonts, and layouts I don’t like.