Skip to content

Altres característiques

Altres característiques CSS.

Variables CSS (Propietats personalitzades)

Comments19
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat
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

Feature Support Queries (@supports)

Comments9
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat

Funcions de comparació CSS

Comments7
Compare Data
min(), max() i clamp()
No n'he sentit a parlar mai
Ho conec
Ho he usat
Comments16
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat
Comments12
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat
Comments38
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat
Comments8
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat

Cascade Layers

Comments16
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat

Shadow DOM Features

Comments8
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat

Trigonometric Functions

Comments8
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat

CSS Nesting

Comments65
Compare Data
Native CSS nesting, excluding pre- or post-processors.
No n'he sentit a parlar mai
Ho conec
Ho he usat

image-set()

Comments8
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat
Comments8
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat

Individual Transform Properties

Comments16
Compare Data
No n'he sentit a parlar mai
Ho conec
Ho he usat

Recursos recomanats

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
Gràcies als nostres socis per donar-nos suport! Més informació.