我想忽略所有:hover
CSS声明,如果用户通过touch 设备访问我们的网站.因为:hover
CSS没有意义,如果平板电脑在单击/点击时触发它,甚至可能会让人感到不安,因为那样它可能会一直停留到元素失go 焦点.老实说,我不知道为什么touch 设备一开始就觉得有必要触发:hover
-但这是现实,所以这个问题也是现实.
a:hover {
color:blue;
border-color:green;
/* etc. > ignore all at once for touch devices */
}
So, (how) can I remove/ignore all CSS 100 declarations at once (without having to know each one) for touch devices after having them declared?