Lompat menuju konten

Fitur

sintaks, kata kunci, dan fitur bahasa pemrograman lainnya.
80%
Percentage of respondents who have used `:has()`.

Of all the features included in the survey, :has() is both the most-used and the most-loved one. Also worth pointing out: Subgrid gets second place in the most-loved rankings, while aspect-ratio is #2 in usage and #3 in sentiment.

After Subgrid, line-clamp got the most comments, many of them from respondents with a negative opinion of the feature.

The least-used features were sibling-count and sibling-index, which makes sense since their browser support is still very new and limited. And the least-loved feature overall was Trigonometric Functions… no doubt due to the “trigonometry” part!

Finally, be sure to filter by “Widely Available” Baseline Status to see what features are available to use right now!

Category:

Baseline Status:

Kelompokkan berdasarkan:

Urutkan berdasarkan:

1

80.4%
15%
4.3%
4,085
2

76.2%
14.7%
8.6%
5,375
3

75%
15.1%
9.4%
4,784
4

69.3%
20%
10.1%
4,134
5

67.9%
18.5%
13%
4,287

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.
23%
Year-over-year percentage increase in respondents who had heard about `light-dark()`.

Features Over Time

Looking at trends over time and in context paints quite an interesting picture. The feature with the single largest year-over-year usage increase is text-wrap: pretty, while the one with the largest awareness increase is light-dark().

Color functions also stand out for placing towards the bottom of the chart in terms of usage, which might mean they haven't yet found their audience.

Finally, the Appreciation tab lets us look at the difference in positivity between respondents interested in a feature and those who have actually used it. Anchor positioning shows a -12% drop-off, which could mean that the API isn't as user-friendly as people expect.

Pemakaian:

Proposi dari responden yang pernah memakai sebuah item

Presets:

Sections:

0%
20%
40%
60%
80%
100%
2024
2025
0%
20%
40%
60%
80%
100%
:has()
aspect-ratio
Kata Kunci Pengukuran Intrinsik
Fungsi Perbandingan CSS
scroll-behavior
backdrop-filter
Penyarangan CSS
@supports
text-wrap: balance
Satuan Viewport Kecil, Besar, dan Dinamis
We asked members of the CSS community to share their “pick of the year”

My 2025 Pick: linear() Easing Generator

Description: The linear() timing function has quickly become one of my favourite modern features, and this lovely tool makes it easy to quickly generate CSS springs from JS logic!
We asked members of the CSS community to share their “pick of the year”

Josh W. Comeau

Indie developer and educator

Layout Pain Points

While Grid is undeniably powerful, that power also comes with a steep learning curve that can turn using this fairly complex feature into a real pain point.

Further down the rankings, dealing with height, overflow, positioning, and alignment still all prove to be common issues for CSS developers.

What are your top CSS pain points related to layout?
(Pertanyaan bebas)
Multiple
0%
20%
40%
60%
80%
100%
1

2

Flexbox issues

3

Browser Support

4

Height issues

5

Overflow issues

0%
20%
40%
60%
80%
100%
% dari pertanyaan responden

Shapes & Graphics Pain Points

Now that we're fairly comfortable with rectangles, we've started looking towards the wider world of triangles, circles, and polygons. Sadly drawing these complex shapes remains tough with CSS only.

Which is why many of us resort to SVG–which is not without its own issues.

What are your top CSS pain points related to shapes & graphics?
(Pertanyaan bebas)
Multiple
0%
20%
40%
60%
80%
100%
1

Shape drawing issues

2

SVG issues

3

Browser Support

4

Gradient issues

5

0%
20%
40%
60%
80%
100%
% dari pertanyaan responden

Colors Pain Points

Many respondents would like CSS to go beyond the light/dark dichotomy, and actually provide more tools for managing full-fledged theming, as well as do a better job ensuring proper contrast when picking colors.

And while new color spaces such as oklch() are certainly powerful, they also come with their own range of issues.

What are your top CSS pain points related to handling colors?
(Pertanyaan bebas)
Multiple
0%
20%
40%
60%
80%
100%
1

Theming issues

2

Contrast issues

3

Browser Support

4

5

0%
20%
40%
60%
80%
100%
% dari pertanyaan responden

Interactions Pain Points

While many of us are waiting for better browser support for scroll-driven animations, others are pointing out potential accessibility issues with new interaction patterns such as carousels.

Another common pain point was the difficulty of “animating to auto”, something that is thankfully now possible!

What are your top CSS pain points related to interactions?
(Pertanyaan bebas)
Multiple
0%
20%
40%
60%
80%
100%
1

Browser Support

2

Animations

3

Scrolling issues

4

5

Accessibility

0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
We asked members of the CSS community to share their “pick of the year”

My 2025 Pick: text-wrap: balance;

I can’t remember the last time a new CSS property was introduced that I could just add to any stylesheet new and old. It’s a little magic one liner that makes your titles much nicer with zero downsides. Add it to your css resets!
We asked members of the CSS community to share their “pick of the year”

Typography Pain Points

Controlling vertical text alignment (a.k.a. leading) in the browser has been an issue for as long as I can remember. Thankfully text-box-edge and text-box-trim promise to give us more granular tools to properly set type online.

What are your top CSS pain points related to typography?
(Pertanyaan bebas)
Multiple
0%
20%
40%
60%
80%
100%
1

line-height issues

2

Browser Support

3

4

5

Font sizing issues

6

Responsive design

7

Lainnya

Jawaban yang cocok dengan “Lainnya” 255
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden

Math Features Pain Points

Many respondents has gripes about calc(), especially when it comes to handling units inside calculations.

What are your top CSS pain points related to math features?
(Pertanyaan bebas)
Multiple
0%
20%
40%
60%
80%
100%
1

2

Handling units

3

Lack of random() function

4

Lainnya

Jawaban yang cocok dengan “Lainnya” 151
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden

Other Features Pain Points

No surprise here, but Browser Support remains the top pain point for the CSS features mentioned in this section.

What are your top CSS pain points related to the features mentioned above?
(Pertanyaan bebas)
Multiple
0%
20%
40%
60%
80%
100%
1

Browser Support

2

3

4

Excessive complexity

5

6

Lainnya

Jawaban yang cocok dengan “Lainnya” 182
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
We asked members of the CSS community to share their “pick of the year”

My 2025 Pick: Font Clamp Generators

My pick of the year is all the font clamp generators that people have been creating and sharing. What’s great about them is that they are all so different so it accommodates different learning styles. Especially, if reading documentation alone doesn’t help understanding how something works.
We asked members of the CSS community to share their “pick of the year”

Little-known ::target-text (only 82% of respondents had never heard of it) tops the Reading List rankings of the features respondents were most curious about.

0%
20%
40%
60%
80%
100%
1

881
2

868
3

810
4

-2
809
5

795
6

-5
789
7

-4
783
8

760
9

757
10

753
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.