Answer the question
In order to leave comments, you need to log in
Why does Gulp in Visual Studio Code highlight a hyphen as an error in SCSS code?
Greetings, please tell me why now Gulp in VSC began to highlight the HYPHEN in red as an error in the SCSS code? This was not the case before. I can't figure out what's wrong. In the console, too, EXPECTED displays all these lines as errors.
What's wrong, what's broken?
In the console for each line there is such an error
[{
"resource": "/d:/....../_contacts.scss",
"owner": "_generated_diagnostic_collection_name_#0",
"code": "css-rparentexpected",
"severity": 8,
"message": ") expected",
"source": "scss",
"startLineNumber": 5,
"startColumn": 41,
"endLineNumber": 5,
"
@media screen and(max-width: $tablet - 1px) {
margin-top: vw($mobile, 12px);
font-size: vw($mobile, 16px);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question