var function

suggest change

The var() function allows CSS variables to be accessed.

/* set a variable */
:root {
    --primary-color: blue;

/* access variable */
selector {
    color: var(--primary-color);

This feature is currently under development. Check for the latest browser support.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents