Quick CSS variable setup

Here is an example CSS code snippet to setup CSS variables. Expand as you wish.

:root {
  --blue: #1e90ff;
}
.class {
    background: var(--blue);
}

Closeup image of laptop

Related posts