I'm currently starting to work seriously with sass but I'm very noob yet. I'm wondering how can I do to extend these styles to another class in a simple way.
I have this style
.active-state + label {
font-size: 70%;
padding: 0.8rem 2rem;
}
And want to extend it, exactly in another place (same file). Because if I do this:
.another-class{
@extend .active-state;
}
doesn't work.
Do I need to do a mixin and include it in both classes or is there a way to avoid this?