The results for the State of CSS 2024 and State of HTML 2024 are now live. This post takes an initial look at some of the most interesting findings in those surveys.

Note: The State of JS 2024 is still open for responses. Take that survey today to help us better understand the needs of the JavaScript community.
Optimism about the web platform
Before looking at some of the issues people are having with HTML and CSS, the surveys do convey a lot of optimism about the platform. When asked if the web platform is moving in the right direction overall, 58% of people taking State of HTML agreed with that statement, with 18% agreeing strongly.

For CSS, :has() stormed away as the favorite new CSS feature with 36% of people ranking it as the best new feature. The second favorite being @container at 17% tied with CSS nesting.

What are you using?
There were some surprises in the CSS data. For example, over 75% of people have used CSS filter effects making it the top used feature. Given the number of complaints about the cascade over the years, it’s interesting that cascade layers are used by only 18.9% of people. Perhaps there’s a link here to adoption of tools such as Tailwind that prevent people ending up in cascade related issues as often.

Landmark elements such as

and

Leave a Reply

Your email address will not be published. Required fields are marked *