Skip to content Skip to sidebar Skip to footer

Samsung Galaxy Tab 10.1 And -webkit-tap-highlight-color Style?

I'm trying to turn off the default Android web 'highlighting' (the -webkit-tap-highlight-color style 'fix' that is recommended everywhere) - this works great on most devices, but n

Solution 1:

try giving it any any color other than the default! e.g. -webkit-tap-highlight-color: rgba(58, 52, 222, 0.5);

On some Android devices where I have tried to change the default highlight color, it ends up making sure the color never works!

-And once you've checked that out, try adding !important at the end of the color, that one seems to force back the default color!

Solution 2:

Add this to your CSS. Is tested and working on Samsung Galaxy S9.

html {
-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
-webkit-tap-highlight-color: transparent !important;
}

Post a Comment for "Samsung Galaxy Tab 10.1 And -webkit-tap-highlight-color Style?"