Answers for "How to extend selector"

CSS
0

How to extend selector

.error {
  border: 1px #f00;
  background-color: #fdd;

  &--serious {
    @extend .error;
    border-width: 3px;
  }
}
Posted by: Guest on August-31-2021

Browse Popular Code Answers by Language