.btn-a {
display: inline-block;
padding: 10px;
}
.btn-b {
@extend .btn-a;
background-color: black;
}
Result in regular CSS:.btn-a, .btn-b {
display: inline-block;
padding: 10px;
}
.btn-b {
background-color: black;
}