Skip to content

Glossary: Tailwind CSS

var()

Also written: CSS variable, custom property, custom properties

A CSS function that reads a custom property's value, like `var(--color-brand)`. Theme variables are ordinary CSS variables, so your own CSS can use them.

Where the book teaches it

Related terms

Theme variable@theme