I'm still tempted by the poster for CSS-Trick's awesome reference page for flexbox...
It's funny. A lot of design problems can be solved by flexbox - and often css-grid feels like overkill... but often, you don't actually want that "pinterest" like effect of things flowing to the next line. More often than not it's a 1-axis kind of thing.
But sometimes doing sizescreen break-point type stuff, you have to choose the lesser of two evils to stop stuff from hopping up or down a row: either non-(or less-)semantic divs representing your row boundaries, or a heap of "flex-basis" settings for the various sizes. Neither option is quite ideal...
No comments:
Post a Comment