2025.stateofcss.com

CSS Usage - State of CSS 2025

1/1/2025Updated 2/21/2026

Excerpt

### Link to sectionBrowser Incompatibilities Not only did **Anchor Positioning** keep its number one spot, but the percentage of respondents citing it almost doubled. The **View Transition API** also climbed to number 3, while **Container style queries** gained a whopping **11 spots** in the rankings. On the other hand, **CSS Nesting** and ``` :has() ``` both lost ground, which makes sense since these features are now supported in all major browsers. … ### Link to sectionMissing Features **Mixins** are still the feature developers wish for the most, closely followed by **Masonry Layout**. Both have long been possible using workarounds such as pre-processors or JavaScript, but it would be nice to see them natively supported in CSS! ### Link to sectionOther CSS Pain Points **Browser Support** may still be the dominant CSS pain point in 2025, but the fact that only a relatively small 10% of question respondents mentioned it is a testament to recent improvements in this domain. … ### My 2025 Pick: The light-dark() Function ``` color-scheme ``` in CSS, using ``` light-dark() ``` to declare colors based upon whether light or dark mode is currently in use feels like a no-brainer.

Source URL

https://2025.stateofcss.com/en-US/usage/

Related Pain Points