Setting-webkit-tap-highlight-color has no effect

set div

on Android phone
-webkit-tap-highlight-color:rgba(0,0,0,0) 

clicking div will still show a gray background, which has no effect. Does any god know why?

Apr.27,2022

applies only to links, such as a, img elements.


the style you put on div doesn't seem to work. It works for links or JavaScript clickable elements. look at this demo

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be6b2a-30d63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be6b2a-30d63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?