Is it possible to transfer the class name to the sass through the mixin variable? like this
@mixin colors ($qq){ $qq{ color:red; } } @include colors(myClass); in the end I want to get this result
.myClass{ color:red; } Is it possible to transfer the class name to the sass through the mixin variable? like this
@mixin colors ($qq){ $qq{ color:red; } } @include colors(myClass); in the end I want to get this result
.myClass{ color:red; } Source: https://ru.stackoverflow.com/questions/631132/
All Articles