Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

scss @content

@mixin hover {
  &:not([disabled]):hover {
    @content;
  }
}

.button {
  border: 1px solid black;
  @include hover {
    border-width: 2px;
  }
}
Source by sass-lang.com #
 
PREVIOUS NEXT
Tagged: #scss
ADD COMMENT
Topic
Name
7+3 =