Math operator / don't work
See original GitHub issueHello, i use last version gulp-sass 4.0.2
SASS
.class { line-heght: 14 / 10; }
compile to CSS
.class { line-heght: 14 / 10; }
But this should be line-heght: 1.4;
I use defaul gulp settings:
// Process, lint, and minify Sass files
var buildStyles = function (done) {
// Run tasks on all Sass files
return src(paths.styles.input)
.pipe(sass({
outputStyle: 'expanded',
sourceComments: false
}))
.pipe(postcss([
prefix({
cascade: true,
remove: true
})
]))
.pipe(header(banner.main, {package: package}))
.pipe(dest(paths.styles.output))
.pipe(rename({suffix: '.min'}))
.pipe(postcss([
minify({
discardComments: {
removeAll: true
}
})
]))
.pipe(dest(paths.styles.output));
};
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Javascript arithmetic operator not working - Stack Overflow
Because subTotal is a string (since you used toFixed ), make it var sub_total = parseFloat((rate * quantity) + sub_total); sub_total ...
Read more >Small problem with the Mathematical operation
There is a small problem with a following very simple expression: =-(A2+1)^2 It gives a false positive results, different form this: ...
Read more >Error when defining a math operator and corresponding ...
I tried to define a new math operator - essentially a math macro. I wanted to define an operator for the Eccentricity of...
Read more >Basic operators, maths - The Modern JavaScript Tutorial
In this chapter, we'll start with simple operators, then concentrate on JavaScript-specific aspects, not covered by school arithmetic.
Read more >Arithmetic operators - cppreference.com
The only situation where it is not a no-op is when the operand has integral type or unscoped enumeration type, which is changed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The symbol
/
is used in shorthand CSS properties. The behavior observed by OP is correct.@xzyfer this is also unrelated to gulp-sass.