Last active
August 11, 2017 05:51
-
-
Save avdoshenkov/bbe1cd72a19165a00233b3380fd5d262 to your computer and use it in GitHub Desktop.
Universal color changing on hover for buttons
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
.btn { | |
background-color: green; | |
} | |
.btn:hover, | |
.btn:focus { | |
box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment