CSS Demo: var()
Reset
Interactive examples cannot be shown because JavaScript is disabled.
This feature is not supported by your current browser. Check Browser compatibility for more details.
border-color: var(--color-a);
Copy to Clipboard
border-color: var(--color-b);
Copy to Clipboard
border-color: var(--color-c);
Copy to Clipboard
Three color options have been set on the :root use these to change the border color.
Copied!