compile error: percent after interpolation
See original GitHub issuesass-4.2.0: bug:
$pcs: map-get($settings, "percent");
@each $pc in $pcs {
.w-#{$pc}pc {
width: #{$pc}%
}
}
work well:
@each $pc in $pcs {
.w-#{$pc}pc {
width: #{$pc}px or any other css units
}
}
Error: Invalid CSS after \"...width: (#{$pc}%\": expected expression (e.g. 1px, bold), was \")\"\A
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
SCSS interpolation error, trying to concatenate a percentage ...
node. js - SCSS interpolation error, trying to concatenate a percentage sign after a variable in a loop - Stack Overflow. Stack Overflow...
Read more >What is the correct way to combine data points with error?
Thinking about the linear interpolation, my understanding is it averages the error from the two closest points, ignoring the error of all other ......
Read more >Finding the percentage error - YouTube
This video screencast was created with Doceri on an iPad. Doceri is free in the iTunes app store. Learn more at http://www.doceri.com.
Read more >Using cross validation to assess interpolation results
Cross validation is performed automatically while building an interpolation model, and results are shown on the last page of the Geostatistical Wizard.
Read more >Incorrect "unexpected term" error when using variable ...
Attempt to use scss variable interpolation to define operation in calc() expression results into "unexpected term" error while sass compiler produces ...
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
Thx so much, I tried lot of things but I forgot function. So, for next readers:
output:
@b-d-k From the Sass documentation: