CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: var() CSS function

The var() Function


Additional links:

CSS variables can be set using custom properties (that begin with two dashes like --main-color-name) and accessed throughout a CSS document by using the functional notation var().

Syntax for var()
CSS Custom Properties for Cascading Variables Level 1var( <custom-property-name> [, <declaration-value> ]? )

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem