Ancient Temple City

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;
}

Labels:
Reactions:

Post a Comment

[blogger]

MKRdezign

{facebook#http://www.facebook.com/GTVCreations} {twitter#http://www.twitter.com/GTVCreations} {google-plus#http://www.google.com} {pinterest#http://www.pinterest.com} {youtube#http://www.youtube.com} {instagram#http://www.instagram.com}

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget