4 ms·
The biggest addition to CSS in 25 years imo is container queries
by geitir 4y ago
The biggest addition to CSS in 25 years imo is container queries
- vehemenz 4y agoPreprocessors and CSS methodologies essentially solved that problem already. Container queries are nice, but :has() gives developers novel functionality to CSS that wasn't possible before without JavaScript and DOM traversal.
- uallo 4y agoIs it possible you are confusing container queries with something else? I don't think preprocessors and/or CSS methodologies have anything to do with that. I don't see any way they could solve the problem that container queries are tackling. At least not without JavaScript. But I'm more than eager to learn that I'm wrong about that.
- vehemenz 4y agoFunctional classes with pre-established breakpoints solve a lot of the problem that container queries are tackling. It's a nice feature set, but it wasn't impossible to do before, unless I am misunderstanding something.
- pupppet 4y agoCan’t come soon enough. The responsive web without it has been a hack.