Answer the question
In order to leave comments, you need to log in
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.?
Hi all! When executing the command , the margin: 0 54 / $maxWidthContainer * 100vw 0 0;
compiler throws an error:
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(54, $maxWidthContainer)
More info and automated migrator: sass-lang.com/d/slash-div
Error in plugin "sass"
Message:
#src/scss/header.scss
Error: expected "{".
╷
132 │ math.div(54, $maxWidthContainer);
│ ^
╵
#src/scss/header.scss 132:36 @import
#src/scss/style.scss 76:9 root stylesheet
math.div(54, $maxWidthContainer){};
, now it swears at some kind of selector:Error in plugin "sass"
Message:
#src/scss/header.scss
Error: expected selector.
╷
132 │ math.div(54, $maxWidthContainer){};
│ ^
╵
#src/scss/header.scss 132:12 @import
#src/scss/style.scss 76:9 root stylesheet
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