+ 9
How I must use variables in css
Hello everyone help me to use variables in css as senior programmers
10 Respostas
+ 8
I know it but I don't remember it
+ 9
Beauty thanks
+ 8
:root {
--background: red;
}
body {
background: var(--background);
}
+ 8
So
+ 8
If you write code in scss or sass it's converted to css
+ 8
Jonh Doe
Are you write code on scss or sass
+ 7
So
What is :root
+ 4
Pariket Thakur đđ»đđ»đđ»đđ»đ
+ 4
John Doe đđ»đđ»đđ»đđ»đ
+ 2
I noticed you tagged the question with sass/scss.
Do you mean css variables or sass variables?