earth { mammal, bird { blood: warm; } } earth { mammal { produces-milk: true; } } @mixin mammal-says($message) { @extend mammal; says: $message; } dog { @include mammal-says("Woof!"); } cat { @include mammal-says("Meow."); } horse, naysayer { @include mammal-says("Nay."); } [hey] { a: b; } ho { @extend [hey]; c: d; }