跳到内容

Start Date

May 15, 2026

End Date

June 29, 2026

Respondents

4,902

Survey Archive

Review Questions →

Get Data

Download →

The CSS of 2026 would be unrecognizable to our distant ancestors from the early 2000s.

Today, you can animate page transitions using CSS, create masonry layouts, even emulate a microprocessor! And of course, you can render Doom in CSS–and yes, you can now even center <div>s in CSS as well!

To help you understand how this year's State of CSS survey results reflect this vibrant ecosystem, here is a quick overview of the most interesting trends.

The Year of Anchor Positioning

Anchor Positioning's limited browser support makes it all the more remarkable that it came in first when asking respondents for their favorite new CSS feature.

最喜爱的新功能

您最喜欢今年开始使用的 CSS 新功能是什么?
多选
Limited
3

favorite_new_features

Build-time query error | Block ID: favorite_new_features | Value "limitations" does not exist in "DataAPI_StateOfCssFavoriteNewFeaturesDynamicID" enum.
debug

Browser Support Issues

Anchor Positioning also ranked first when asking developers which CSS Features they'd like to use, but were avoiding because of browser support issues.

浏览器不兼容性

你是否有因为浏览器之间的差异, 导致在使用 CSS 时遇到困难?
(自由提问)
多选
0%
20%
40%
60%
80%
100%
01
02
+1
03
-1
04
05
06
07
08
+1
09
-2
10
0%
20%
40%
60%
80%
100%

This points to a key issue of the CSS ecosystem: because of lagging browser support, enthusiasm for newly-announced features is often mitigated by the inability to use them in a real-world production context.

In addition to Anchor Positioning, a few other features such as View Transitions, or if() fall in that same bucket: CSS developers want these features, and it's now up to browser vendors to make sure they can be usable everywhere.

This is where initiatives such as Interop come in, and this year's edition will thankfully help improve support across the board for many of the survey's most-requested features.

Bucking the AI Trend

While the rest of the web development world has been entrusting more and more of its code to AI, CSS seems to remain a stronghold of manual coding, at least for now.

CSS AI Code Generation
✨

What proportion of the CSS code you produce is AI-generated?
0%
20%
40%
60%
80%
100%
1
0
2
12.5%
3
25%
4
37.5%
5
50%
6
62.5%
7
75%
8
87.5%
9
8
0%
20%
40%
60%
80%
100%

Most of the comments around this issue cited the fact that AI just isn't great at producing good CSS code yet, so it'll be interesting to see how things evolve going forward.

A Unique Language

More than any other web technology, CSS feels like its own wholly original thing, and it's been fascinating to see it evolve over decades into its modern incarnation.

This is just a tiny part of the data collected in this survey, so be sure to check out the full survey results to get the whole picture!

我们的合作伙伴

感谢 Google Chrome 团队支持我们的工作。
今天就在日本找到您梦想的开发者工作。
[zh-Hans] sponsors.cybozu.description
Full stack auth and user management that lets you launch faster and scale easier.
Developer certifications built with the framework creators themselves.
通过深入的现代前端工程课程提升您的技能。
直接从早期采用者和技术作者那里了解最新趋势。
为雄心勃勃的开发者打造的浏览器。轻松构建响应式、无障碍且快速的网站。