التخطى إلى المحتوى

Other Features

Other CSS features.

CSS Variables (Custom Properties)

Comments19
Compare Data
لم أسمع عنها
أعرفها
استخدمتها
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
لم أسمع عنها
أعرفها
استخدمتها

CSS Comparison Functions

Comments7
Compare Data
min(), max(), and clamp()
لم أسمع عنها
أعرفها
استخدمتها

Houdini Custom Properties

Comments16
Compare Data
@property
لم أسمع عنها
أعرفها
استخدمتها

::marker pseudo-element

Comments12
Compare Data
لم أسمع عنها
أعرفها
استخدمتها
Comments38
Compare Data
لم أسمع عنها
أعرفها
استخدمتها
Comments8
Compare Data
لم أسمع عنها
أعرفها
استخدمتها

Cascade Layers

Comments16
Compare Data
لم أسمع عنها
أعرفها
استخدمتها

Shadow DOM Features

Comments8
Compare Data
لم أسمع عنها
أعرفها
استخدمتها

Trigonometric Functions

Comments8
Compare Data
لم أسمع عنها
أعرفها
استخدمتها

CSS Nesting

Comments65
Compare Data
Native CSS nesting, excluding pre- or post-processors.
لم أسمع عنها
أعرفها
استخدمتها

image-set()

Comments8
Compare Data
لم أسمع عنها
أعرفها
استخدمتها
Comments8
Compare Data
لم أسمع عنها
أعرفها
استخدمتها

Individual Transform Properties

Comments16
Compare Data
لم أسمع عنها
أعرفها
استخدمتها

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
شكرا لشركائنا لدعمنا! تعرف علي المزيد.