Skip to content

Instantly share code, notes, and snippets.

@lean8086
Created December 3, 2012 22:54
Show Gist options
  • Save lean8086/4198877 to your computer and use it in GitHub Desktop.
Save lean8086/4198877 to your computer and use it in GitHub Desktop.
Hide the translucent highlight when elements with hyperlinks are tapped
a {
/* iOS: Actions without the gray overlay */
-webkit-tap-highlight-color: rgba(0,0,0,0);
/* iOS: Remove the actions panel */
-webkit-touch-callout: none;
}
<!-- The tag is specific to IE10 on Windows Phone (does not apply to IE10 on Windows) -->
<meta name="msapplication-tap-highlight" content="no">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment