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

The var() Function

Related:

Additional links:

Use var() to access a CSS variable. CSS variables can be set using custom properties (which begin with two dashes like --main-color-name).

Syntax for var()
 Syntax
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