0

just a short question. Is it possible to call a mixin by a variable name?

Example:

.for(@special-units); .-each(@value) {
    &.f-@{value} {           
         //call a mixin which has the same name like @value
    }
}
  • 1
    Nope, you can't call a mixin like that. – Harry Apr 08 '16 at 09:40
  • 1
    I'd suggest you to provide an example of *what* you're trying to achieve instead of *how* you think you could do that. (Usually a request for such feature hints of missing the notion of parametric mixins). – seven-phases-max Apr 08 '16 at 11:39

0 Answers0