default !important;
    -webkit-user-select: text !important;
}
 
很多时候需要禁用移动设备的默认行为,比如长按一个a链接的按钮(href写的是javascript:;)会提示是否打开/取消。而-webkit-touch-callout 在ios8中是失效的,查资料说是一个bug。还有另外一种做法就是设置pointer-events:none;不过这个属性太狠了,会导致页面的tap等事情都失效。
 
 
更多参考资料:
 
 
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2021-06-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2021-04-21
  • 2021-09-18
  • 2021-06-02
相关资源
相似解决方案