Created
July 16, 2015 18:04
-
-
Save rzzo/f2293723ad113581eed9 to your computer and use it in GitHub Desktop.
Scss mixin - hover active focus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=== hover active focus | |
//=== Use: @include hoverActiveFocus('opacity', 0.5) | |
@mixin hoverActiveFocus($property, $value) { | |
&:hover, &:active, &:focus { | |
#{$property}: $value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment