Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

&:disabled not working sass

.btn {
  &[disabled] {
    opacity: 0.6;
  }
  &:hover, &:active {
    &:not([disabled]) {
      background-color: darken($orange, 15);
    }
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #working #sass
ADD COMMENT
Topic
Name
1+3 =