I'm struggling to make CSS variables function properly, here is what I have so far:
:root {
--primary-color: #ffcd600;
--spacing: 10px;
--blur: 10px;
}
img {
padding: var(--spacing);
background: var(--primary-color);
}
When I check the element inspector, this is what it shows:
img {
padding: var(--spacing);
background: var(--base);
}