Lompat menuju konten

Fitur

It's no secret that CSS is adding new features at a record rate – which is why we ended up asking about no less than 50 of them this year!
46
Total number of features in this year's shortened survey, compared to 63 in 2025.

:has(), aspect-ratio, and CSS Nesting are both the most-used and most-loved features mentioned in the survey.

Meanwhile, line-clamp once again got a lot of comments, most of them asking for a non-prefixed version of the feature. CSS Nesting also received its share of feedback, but unlike line-clamp almost all of it was positive.

The least-used features were Gap decorations and if(), no doubt due to limited browser support.

Speaking of browser support, one way to predict what CSS has in store for us is to look at the most-loved features with a “Limited Availability” Baseline status. In this case, both calc-size() and Anchor Positioning are being awaited with a lot of anticipation!

Category:

Baseline Status:

Kelompokkan berdasarkan:

Urutkan berdasarkan:

1
Fitur Lainnya
83.7%
12.3%
3.8%
3,822
2
Tata Letak
81.3%
12.3%
5.9%
4,244
3
Fitur Lainnya
70.6%
23.8%
5.1%
3,820
4
Interaksi
68.2%
18.3%
12.7%
4,208
5
Tata Letak
59.8%
24.7%
15%
4,240

Pengalaman

  • <span aria-hidden="true">🤓</span> Sudah pakai: Responden yang sudah pakai.
  • <span aria-hidden="true">👀</span> Pernah dengar: Responden yang sudah dengar, tetapi belum pernah pakai.
  • <span aria-hidden="true">🤷</span> Belum pernah dengar: Responden yang belum pernah dengar.

Sentimen

  • Positif: Responden yang tertarik untuk belajar tentang sebuah teknologi; atau yang ingin menggunakannya lagi.
  • Netral: Responden yang tidak memiliki sentimen akan sebuah teknologi.
  • Negatif: Responden yang tidak tertarik untuk belajar tentang sebuah teknologi; atau yang sudah pernah pakai dan memiliki pengalaman negatif.
22%
Year-over-year percentage increase in respondents who had heard about sibling-count().

Features Over Time

The fact that even with limited browser support, Anchor Positioning is still the item with the single largest year-over-year usage increase (+15%) goes to show how much developers have been waiting for this feature.

Looking a awareness, the feature boasting the largest increase (+23%) is sibling-count, which will hopefully soon be supported in all major browsers.

It's also always interesting to look at items with low appreciation. For example, contrast-color()'s -13% ratio means that positivty among respondents who have actually used the feature is that much lower than the same metric among those that have merely heard about it.

Pemakaian:

Proposi dari responden yang pernah memakai sebuah item

Filters:

0%
20%
40%
60%
80%
100%
2024
2025
2026
0%
20%
40%
60%
80%
100%
:has()
aspect-ratio
Penyarangan CSS
scroll-behavior
Satuan Viewport Kecil, Besar, dan Dinamis
CSS Logical Properties
@supports
@container size queries
:where()
color-scheme
The Reading List lets respondents save items to learn about them after completing the survey. Gap decorations was saved by 55% of all respondents, which makes sense as it promises to solve a common pain point that currently requires a lot of cumbersome workarounds.
0%
20%
40%
60%
80%
100%
01
1,823
02
1,756
03
1,691
04
1,653
05
+2
1,618
06
+2
1,591
07
1,532
08
-4
1,513
09
1,505
10
+6
1,469
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Seberapa banyak sebuah item ditambahkan ke daftar baca responden, sebuah fitur yang memungkinkan responden untuk mempelajari lebih lanjut tentang topik tertentu saat mereka mengisi survei.

Rekomendasi Sumber

Ultimate CSS Grid & Layout Techniques, v3
Jen Kramer
AnnieCannons

Ultimate CSS Grid & Layout Techniques, v3

CSS Grid is the most important tool in a modern web developer's toolkit for laying out web pages. With its two-dimensional structure, precise positioning, and overlapping elements, you’ll learn to achieve complex layouts with minimal code.
CSS Animations and Transitions
David Khourshid
Microsoft

CSS Animations and Transitions

Learn CSS animation basics and transition to advanced concepts like orchestration and choreography.
Terima kasih kepada semua Mitra yang telah mendukung Kami! Pelajari lebih lanjut.