Back to Content

Guaranteed-invalid value

files/en-us/glossary/guaranteed_invalid_value/index.md

latest560 B
Original Source

In CSS the guaranteed-invalid value is {{CSSXref("initial")}}.

When a custom property's value is the guaranteed-invalid value, the {{CSSXref("var")}} function cannot use it for substitution. Attempting to do so makes the declaration invalid at computed-value time, unless a valid fallback is specified.

See also