Skip to content

Other Features

Other CSS features.

Variables

Comments9
Compare Data
Never heard of it
Know about it
Have used it
2019
2020
2021
2022
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
Know about it
Have used it
2019
2020
2021
2022

will-change

Comments16
Compare Data
Never heard of it
Know about it
Have used it
2019
2020
2021
2022

CSS Comparison Functions

Comments17
Compare Data
Never heard of it
Know about it
Have used it
2020
2021
2022

@property

Comments15
Compare Data
Never heard of it
Know about it
Have used it
2021
2022

Cascade Layers

Comments14
Compare Data
Never heard of it
Know about it
Have used it
2022

Shadow DOM ::part()

Comments9
Compare Data
Never heard of it
Know about it
Have used it
2022

Trigonometric Functions

Comments17
Compare Data
Never heard of it
Know about it
Have used it
2022

CSS Nesting

Comments60
Compare Data
Native CSS nesting, excluding pre- or post-processors.
Never heard of it
Know about it
Have used it
2022

image-set()

Comments12
Compare Data
Never heard of it
Know about it
Have used it
2022

image()

Comments6
Compare Data
Never heard of it
Know about it
Have used it
2022

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.