2
Hello! I’m learning SASS and came across a problem that was supposed to be simple,. heehehe.
This is not compiling:
$purple: #9b0aa8;
#fofo{
width:40px;
height:40px;
background: $purple;
}
#fofo:hover{
@include transform(translateY(50%), scale(0.5));
}
<div id="fofo"></div>
He presents prblema on the line:
`@include transform(translateY(50%), scale(0.5));'
saying:
stdin 10:3 root stylesheet on line 10 at column 3
Any idea? Sounds good to me. =//
Young test without this comma between translateY(50%), Scale(0.5), thus
@include transform(translateY(50%) scale(0.5))
and see if it compiles. If it works out tell me that I publish as an answer ok :)– hugocsl
No. = / I had initially done without. Valeu!
– RPG Deivid Pacheco
I’m using https://www.sassmeister.com/
– RPG Deivid Pacheco
Jeez, now gave: Undefined mixin. stdin 10:3 root stylesheet on line 10 at column 3
– RPG Deivid Pacheco
Take a look at the code I put in the answer, compiled without errors!
– hugocsl