CSS & Frontend

CSS Custom Property

/siː es es ˈkʌstəm ˈprɒpəti/

Definition

A CSS variable (--property-name: value) that holds reusable values and can be updated dynamically via JavaScript.

Example in context

"We use --color-primary as a CSS variable — dark mode just reassigns it, no extra selectors needed."

Related terms

Practice this term

Master CSS Custom Property in context by working through exercises in the CSS & Frontend module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.

Frequently Asked Questions

What does "CSS Custom Property" mean?

A CSS variable (--property-name: value) that holds reusable values and can be updated dynamically via JavaScript.

How do you pronounce "CSS Custom Property"?

"CSS Custom Property" is pronounced /siː es es ˈkʌstəm ˈprɒpəti/.

Can you use "CSS Custom Property" in a sentence?

"We use --color-primary as a CSS variable — dark mode just reassigns it, no extra selectors needed."