Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on State of CSS. Parent comment
I imagine container queries will totally change the way I write CSS as soon they are broadly supported.
Of course this would not make for a truly constrained-based layout definition. But it would at least make working this way somewhat possible.
The example where flex-directon is switched using a container query is spot-on. That's exactly ly what I sometimes miss being able to do in HTML+CSS.
Apparently there is a JS polyfill (awesome given the problem) but I haven't tried it and I assume the performance implications are bad.
There are no comments on this comment yet.
I imagine container queries will totally change the way I write CSS as soon they are broadly supported.
Of course this would not make for a truly constrained-based layout definition. But it would at least make working this way somewhat possible.
The example where flex-directon is switched using a container query is spot-on. That's exactly ly what I sometimes miss being able to do in HTML+CSS.
Apparently there is a JS polyfill (awesome given the problem) but I haven't tried it and I assume the performance implications are bad.