Ask coding questions

← Back to all posts
How to make a variable?
RixTheTyrunt (3)

Well, this is an another programming language than Python... It's HTML, CSS, JavaScript! So, I have a problem on CSS... I want to make a variable ( I know, that CSS variables start with -- ) in CSS, named --current-sans-serif with a value 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, could anyone help me, please?-

Answered by ch1ck3n (2866) [earned 5 cycles]
View Answer
ch1ck3n (2866)

is how to set the variables

and this is how to get those variables