Skip to content

Other Features

Other CSS features.

CSS Variables (Custom Properties)

Comments9
Compare Data
Never heard of it
Heard of it
Used it
We asked members of the CSS community to share their “pick of the year”

My 2022 Pick: The :has() Selector

CSS just because even stronger at orchestrating UI interaction across components. We've barely scratched the surface of the impact of :has() on our styles.

We asked members of the CSS community to share their “pick of the year”

Adam Argyle

UI/CSS DevRel at Google

@supports

Comments4
Compare Data
Never heard of it
Heard of it
Used it

will-change

Comments16
Compare Data
Never heard of it
Heard of it
Used it

CSS Comparison Functions

Comments17
Compare Data
Never heard of it
Heard of it
Used it

@property

Comments15
Compare Data
Never heard of it
Heard of it
Used it

Cascade Layers

Comments14
Compare Data
Never heard of it
Heard of it
Used it

Shadow DOM Features

Comments9
Compare Data
Never heard of it
Heard of it
Used it

Trigonometric Functions

Comments17
Compare Data
Never heard of it
Heard of it
Used it

CSS Nesting

Comments60
Compare Data
Native CSS nesting, excluding pre- or post-processors.
Never heard of it
Heard of it
Used it

image-set()

Comments12
Compare Data
Never heard of it
Heard of it
Used it

image()

Comments6
Compare Data
Never heard of it
Heard of it
Used it

Recommended Resources

Dynamic CSS with Custom Properties (aka CSS Variables)
Lea Verou
MIT

Dynamic CSS with Custom Properties (aka CSS Variables)

Modern browsers ship with CSS Custom Properties, also known as “CSS variables”, a superpower that enables us to create reusable components without any JavaScript dependencies needed
Thanks to our partners for supporting us! Learn more.