Skip to content

Other Features

Other CSS features.

CSS Variables (Custom Properties)

Comments19
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 2023 Pick: text-wrap: balance

Headlines should dazzle and read like a breeze, even if screens play hard to predict. I've battled those annoying solo words at line's end (hello, widow words!), but guess what? Enter text-wrap: balance – one-liner-fix wizardry that's pure magic!

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

Ahmad Awais

VP DevRel & Google Developers Advisory Board founding member
Comments9
Compare Data
Never heard of it
Heard of it
Used it

CSS Comparison Functions

CSS Comparison Functions
Comments7
Compare Data
Never heard of it
Heard of it
Used it
CSS Comparison Functions
Comments16
Compare Data
Never heard of it
Heard of it
Used it
Comments12
Compare Data
Never heard of it
Heard of it
Used it
Comments38
Compare Data
Never heard of it
Heard of it
Used it
Comments8
Compare Data
Never heard of it
Heard of it
Used it

Cascade Layers

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

Shadow DOM Features

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

Trigonometric Functions

Trigonometric Functions
Comments8
Compare Data
Never heard of it
Heard of it
Used it
Trigonometric Functions

CSS Nesting

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

image-set()

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

Individual Transform Properties

Individual Transform Properties
Comments16
Compare Data
Never heard of it
Heard of it
Used it
Individual Transform Properties

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.