Skip to content

Commit

Permalink
fade out disabled buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGibson27 committed Aug 8, 2019
1 parent 1ea192f commit 3ce73ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/scss/6-components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
text-transform: uppercase;
transition: opacity 0.3s;

&:disabled,
&[disabled="true"],
&[disabled="disabled"] {
opacity: .4;
}

@media (hover: hover) {
&:hover,
&:active {
Expand Down

0 comments on commit 3ce73ee

Please sign in to comment.