<===> options.yml
---
:warning_todo:
- sass/libsass#2887
<===> input.scss
$content-width: 960px;
/* demo.css: */
.selector {
padding: 0 calc(100%/2 - #{$content-width/2})
}
/* bin/sassc demo.scss */
.selector {
padding: 0 calc(100%/2 - #{$content-width/2}); }
<===> output.css
/* demo.css: */
.selector {
padding: 0 calc(100%/2 - 480px);
}
/* bin/sassc demo.scss */
.selector {
padding: 0 calc(100%/2 - 480px);
}
<===> warning
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($content-width, 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
5 | padding: 0 calc(100%/2 - #{$content-width/2})
| ^^^^^^^^^^^^^^^^
'
input.scss 5:30 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($content-width, 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
11 | padding: 0 calc(100%/2 - #{$content-width/2}); }
| ^^^^^^^^^^^^^^^^
'
input.scss 11:30 root stylesheet