728x90 AdSpace

Latest News
Wednesday, November 9, 2016

CSS code to remove grey highlight when tapping links in Webkit Browsers


/* Essentially means a[href], or that the link actually goes somewhere */
*:link {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
*:visited {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
*:hover {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
*:active {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: CSS code to remove grey highlight when tapping links in Webkit Browsers Rating: 5 Reviewed By: Thiruvikraman Govindarajan