Answer the question
In order to leave comments, you need to log in
Why doesn't Sublime Text text editor see the following variables?
_header.sass
.header
&-contacts
display: flex
justify-content: flex-end
&__phone
font-size: 22px
&__button
font-size: 14px
font-weight: 400
color: $text-color-light
Answer the question
In order to leave comments, you need to log in
Debug algorithm for anything. Start simple:
1. create a simple file with one class with one property with a static value. Does it compile correctly? Cool
2. add a nested class to it with a property with a static value. Does it compile correctly? Cool
3. We take out the value of the nested property in a variable. The variable is defined at the very top of the file. Does it compile correctly? Cool
4. transfer the variable to an external file, import the file with the variable. Does it compile correctly? Cool
There are two options: either it will fail at some stage => we are dealing with the problem at the global level, or everything will be successful => the problem is in the sass you wrote
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question