Answer the question
In order to leave comments, you need to log in
I can't create a variable and templates in my scss file in SublimeText, what's the problem?
I write $variablename and it is not highlighted and in css it is compiled as a regular word. Syntax for sass set, what could be the problem? Here is an example code in scss:
$vtp:#cf3434;
body{
background-color: vtp;
}
and this is how it compiles to css:
body {
background-color: vtp; }
Thank you in advance for your reply .
Answer the question
In order to leave comments, you need to log in
body {
background-color: $vtp; /* Забыли знак доллара $ */
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question