Complete the code to extend the base button style.
.btn-primary {
@extend [1];
background-color: blue;
color: white;
}Complete the code to extend multiple classes.
.alert-success {
@extend [1];
@extend .alert;
background-color: green;
}Fix the error in the extend statement to reduce duplication.
.card-header {
@extend [1];
font-weight: bold;
}Fill both blanks to create a reusable card style and extend it.
[1] { padding: 1rem; border: 1px solid #ccc; } .card-footer { @extend [2]; font-size: 0.9rem; color: #666; }
Fill all three blanks to extend base button styles with modifiers.
.btn-base {
padding: 0.5rem 1rem;
border-radius: 0.25rem;
border: none;
}
.btn-primary {
@extend [1];
background-color: [2];
color: [3];
}