Is there a way to make CSS dynamic? I want to set a variable in the CSS file. Something like this:
var baseColour = #000;
body{
background-colour: baseColour;
}
I want to let the user choose a colour. Then I want to set the variable in CSS to the user input with JavaScript.
Is that possible? Or at least that one with the variable?