how to extend selector

Solutions on MaxInterview for how to extend selector by the best coders in the world

showing results for - "how to extend selector"
Arlo
13 Jan 2016
1.error {
2  border: 1px #f00;
3  background-color: #fdd;
4
5  &--serious {
6    @extend .error;
7    border-width: 3px;
8  }
9}
10