I have some Sass like this:
.zbounce1, .zbounce2, .zbounce3, .zbounce4
animation-name: bounceIn
animation-duration: .5s
animation-timing-function: ease-in-out
span.zbounce1, span.zbounce2, span.zbounce3, span.zbounce4
display: inline-block
I would like to simplyfy the second part to a nested bit of the first part, so I don't have to mention every class again:
span.&
display: inline-block
Sadly, this is not legal. (The other way round, specializing a bunch of styles with a nested &.anotherClass
is easy...
Any workaround to achieve this? (perhaps with the @extendOnly-Placeholder?) or some funky sass concatenation...?