skip to Main Content

Loop to assign mixins to classes in scss

I want to assign several @mixins to classes with the same name, something like: @each $herramienta in $listaHerramientas { .#{$herramienta} { @include #{$herramienta}; } } The compiler throws the error Expected identifier, which seems to mean the @include does not…

VIEW QUESTION
Back To Top
Search