scss unable to make chained multiple classname
&formelement&has-auto-width {
display: inline-block;
}
the second & doesn't work what's wrong?
2 Replies
quick fix:
Alternatively, you could use interpolation, but I find it terribly unreadable:
&formelement#{&}has-auto-width
but that would output to .formformelement.formhas-auto-width
which is a little different. Maybe it's what you're after thothank you
i actually noticed i wrote/asked it wrong
`
this worked
but good to see ur example to learn