I am trying to remove tap highlight color. But it is not working mobile. When i am trying to see using inspect element on pc it is also not showing.
My css is
button, button:hover, li:hover, a:hover , li , a , *:hover, *
{
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
is there any error on my css..
If something "is not working", it's broken or ineffective right now. But that might be a temporary situation.
In which case, the difference in meaning would be that, “Is it working?” is a question that involves what it is doing right now. And, “Does it work?” is asking if it has recently worked and if you are confident that it will work again in the future.
Don't is a contraction of do not, while doesn't is a contraction of does not, and they both act as auxiliary verbs. In English, don't is used when speaking in the first and second person plural and singular and the third person plural ("I," "you," "we," and "they").
intransitive to be successful, or to end in a particular way. If it doesn't work out, you can always come back here.
use both:
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
OR
* {
-webkit-touch-callout:none; /* prevent callout to copy image, etc when tap to hold */
-webkit-text-size-adjust:none; /* prevent webkit from resizing text to fit */
-webkit-tap-highlight-color:rgba(0,0,0,0); /* prevent tap highlight color / shadow */
-webkit-user-select:none; /* prevent copy paste, to allow, change 'none' to 'text' */
}
I thought I'd add to the accepted answer...
Using cursor: pointer
will also cause the tap highlight to persist (even after setting -webkit-tap-highlight-color). Make sure to remove it on the element or parent it's inheriting from.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With