scss extending placeholder code example
Example: @extend must be used with a %placeholder
// Placeholder
%text-styles {
color: #202226;
font-family: $font-page;
font-size: 17px;
line-height: 25px;
}
.some-class {
@extend %text-styles;
}
// Placeholder
%text-styles {
color: #202226;
font-family: $font-page;
font-size: 17px;
line-height: 25px;
}
.some-class {
@extend %text-styles;
}