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

for loop in vanilla JavaScript

I have a rating number for 3 different products, and i am trying to render a star svg base of their rating number. for example product-A has rate 3, I want to render star img, 3 times. the maximum star…

VIEW QUESTION
Back To Top
Search