Last active
January 14, 2019 07:58
-
-
Save alastc/dd2104fd8786c47a550dd9875bd4dc10 to your computer and use it in GitHub Desktop.
CSS for use in tools like Stylus to create an obvious focus indicator.
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
/* CSS for use in tools like https://add0n.com/stylus.html to create an obvious focus indicator. */ | |
*:-moz-focusring { /* change to :focus-visible for chrome */ | |
outline: 2px transparent dashed !important; | |
box-shadow: 0 0 0 2px #F9F9D1, 0 0 0 4px #396196, 0 0 4px 8px #F9F9D1 !important; | |
transition: all 0.2s ease-in; | |
z-index: 1000; | |
overflow: visible; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment