Created
October 19, 2018 12:13
-
-
Save amcdnl/3452b988b775e22b7675a55dc79ca5ae to your computer and use it in GitHub Desktop.
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
/* | |
This will hide the focus indicator if the element receives focus via the mouse, | |
but it will still show up on keyboard focus. | |
*/ | |
button:focus:not(:focus-visible) { | |
outline: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment