美文网首页
safari 手机浏览器不支持:active属性

safari 手机浏览器不支持:active属性

作者: crystal_高 | 来源:发表于2019-08-08 17:05 被阅读0次

    解决办法 在css中增加

    -webkit-tap-highlight-color: yourclor;

    在html 模版中 给相应的dom增加一个原生的ontouchstart 事件,可以设置为空:例如

    ontouchstart=''
    

    相关文章

      网友评论

          本文标题:safari 手机浏览器不支持:active属性

          本文链接:https://www.haomeiwen.com/subject/ghaxjctx.html