3 ms·
There is a lot of CSS now…but so many of the recent additions have been useful. Really useful. Like, solves real-world problems, easy to understand, on their wa
by perardi 4y ago
There is a lot of CSS now…but so many of the recent additions have been useful. Really useful. Like, solves real-world problems, easy to understand, on their way to being very well-supported.
For example…
…Container Queries. (https://www.smashingmagazine.com/2021/05/complete-guide-css-container-queries/ https://www.smashingmagazine.com/2021/05/complete-guide-css-...)
…Cascade Layers. (https://css-tricks.com/css-cascade-layers/#browser-support-and-fallbacks https://css-tricks.com/css-cascade-layers/#browser-support-a...)
…the :has() selector. (https://www.bram.us/2021/12/21/the-css-has-selector-is-way-more-than-a-parent-selector/ https://www.bram.us/2021/12/21/the-css-has-selector-is-way-m...)
- alwillis 4y agoGood point. For example, :has() has nearly 83% global support already [1]. Once Firefox enables it by default (it’s behind a flag currently) and more upgrade to the latest versions of macOS and iOS, we’ll soon exceed 90%. [1]: https://caniuse.com/?search=%3Ahas https://caniuse.com/?search=%3Ahas