I don't understand the difference between CSS custom properties (variables) and SCSS variables (I am new to Sass by the way)
If this CSS code:
:root{
--someColor: coral;
}
body{
background: var(--someColor);
}
achieves the same results as this SCSS code:
$someColor: coral;
body{
background: $someColor;
}
Why were SCSS variables introduced? Are they really the same as CSS variables, or am I missing something?
Thank you.