You can save the parent selector in a variable!
Take the following BEM-like SASS:
.content-block { &__heading { font-size: 2em; } &__body { font-size: 1em; } &--featured { &__heading { font-size: 4em; font-weight: bold; } } }
The selector inside .content-block--featured will be .content-block--featured .content-block--featured__heading , which may not be what you are after.
It's not as elegant as a single ampersand, but you can insert a parent selector into a variable! . So, to get what you could do from the above example without hard coding the parent selector:
.content-block { $p: &; // store parent selector for nested use &__heading { font-size: 2em; } &__body { font-size: 1em; } &--featured {
So, OP, in your case, you can try something like this:
.page--about-us { $about: &;
source share