在ios中,可能出现伪类active不生效的情况,解决方法
document.body.addEventListener(‘touchstart’, function () { //…空函数即可});
:active伪类不生效
最新推荐文章于 2024-09-12 19:55:46 发布
在ios中,可能出现伪类active不生效的情况,解决方法
document.body.addEventListener(‘touchstart’, function () { //…空函数即可});