Let's say I have such style definitions:
.a.b { ... }
.a.b.c { ... }
Is there a way to avoid .a.b
part duplication using SASS/SCSS?
Nest the .a.b.c
rule within .a.b
and replace the first part with the &
combinator:
.a.b {
...
&.c { ... }
}