I have a set up where I'd like to select elements based on partial class in scss.
I know of the wildcard selector which I could use div[class*='-suffix']
however within the class definition, I'd like to use that wildcard value. For example:
.{prefix}-glyph
{
@include mymixin({prefix})
}
Where {prefix} is the wildcard prefix I wish to match against.
Is this possible?