var()

Reads the value of a custom property.

What does var() do?

var() reads the value of a custom property.

.card { padding: var(--space-md); }

Level: Freelancer · More CSS terms at this level

Updated