CSS --* Property Reference

The CSS --* property is a standard property in CSS Custom Properties for Cascading Variables. Review its formal syntax, computed behavior, and practical declarations.

CSS --* Property Reference

The CSS --* property is a standard property in CSS Custom Properties for Cascading Variables. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

--* overview

The CSS --* property is a standard property in CSS Custom Properties for Cascading Variables. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

--* formal syntax
FieldValue
Formal syntax<declaration-value>
Initial valueseeProse
Applies toallElements
InheritedYes
Percentagesno
Computed valueasSpecifiedWithVarsSubstituted
Animation typediscrete
Mediaall
Specification groupCSS Custom Properties for Cascading Variables
StatusStandard

Practical examples

These declarations demonstrate valid ways to set --*. The initial and inherit global keywords remain available even when a property-specific value is preferable.

--* live example
CSS .reset-example { --toolio-example: initial; } .inherit-example { --toolio-example: inherit; } @supports (--toolio-example: initial) { .supported { --toolio-example: initial; } }

Description

The CSS --* property is a standard property in CSS Custom Properties for Cascading Variables. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: --*
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies