2 ms·
If you're writing a document (not an app) and using floats for their intended purpose, they are useful - and can't easily be replicated with grids or flexbox, I
by ptx 6y ago
If you're writing a document (not an app) and using floats for their intended purpose, they are useful - and can't easily be replicated with grids or flexbox, I think.
- quickthrower2 6y agoIt’s ok we can make a float polyfill
- dmitryminkovsky 6y agoYeah that's a good point. I've always thought pages should, then, specify if they're a document or an app. If you're a doc, you use all the various semantic tags. If you're an app, just use div/span. Maybe the spec could have something like that, app mode and doc mode.
- goto11 6y agoWhat would be the benefit?
- dathinab 6y agoWhich is the root of the problem, the web was designed for linear top-to-bottom mostly static documents. But most websites have diverged from this since a long time ago, even such which represent mostly immutable content.