Answer the question
In order to leave comments, you need to log in
Is it possible to use a parameter from a Pug mixin in a class name?
I want to do something like this, but I don't know how or if it's even possible?
mixin line(title)
div(class="line #{title}__line")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question