'How can i traslate from scss to css?
I have this code: i've tried traslate with this page: https://jsonformatter.org/scss-to-css but it does not worked, it say me this line is the problem @include transition($transition-fade);
.fade {
@include transition($transition-fade);
&:not(.show) {
opacity: 0;
}
}
.collapse {
&:not(.show) {
display: none;
}
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
@include transition($transition-collapse);
}
how can i traslate from scss to css plain?
Solution 1:[1]
The tool can't resolve the include. Therefor you have to do that manually.
- go to the source of the
transitioninclude - copy the code
- find and replace all
@include transition($transition-collapse);with the copied code - adjust pasted code to match the variable parameter passed to the mixin e.g.
$transition-collapseor$transition-fade
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | paul |
