When receving an onclick event from a DIV as a result of a tap on the iPad, The DIV automatically flashes to a dark color to give the user feedback for the tap. Is there any way to prevent this flash from occurring?
It's because there are events on the element. Just set:
div {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
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