My sass file looks like this when I use my mixin:
$viewports: 25 50 75 100;
@each $viewport in $viewports {
.vh-#{$viewport} {
height: #{$viewport}vh;
}
}
.vh-25 {
height: 25vh;
}
...
But I want that class and the class with the @sm, @md, … Can I do that with sass?
@media (min-width: 576px) and (max-width: 767px) {
.vh-25@sm {
height: 25vh;
}
}