Re:Faster Layouts with CSS Grid and Subgrid
by fjp on Friday October 18, 2019 @05:07PM
(#21295090)
Every time I thought I have needed float, I have always later found a cleaner way to do it without float.
[ Parent
| on HN ]
Re:Faster Layouts with CSS Grid and Subgrid
by shawnz on Friday October 18, 2019 @05:57PM
(#21295385)
That's probably because float is almost always used for things which it's not designed for. For cases like what the parent described, which float is actually meant for, there is no alternative.
A good example is the floating picture boxes next to paragraphs on Wikipedia. How would you implement such a feature without floats?