-
-
Save bulbul84/159b9ee948349f7e65177cd97a8b5be8 to your computer and use it in GitHub Desktop.
Remove Gray Highlight When Tapping Links in Mobile Safari. JS allows :active styles to work in the CSS on a page in Mobile Safari.
http://css-tricks.com/snippets/css/remove-gray-highlight-when-tapping-links-in-mobile-safari/
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
a { | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
} |
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
document.addEventListener("touchstart", function(){}, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment