当我用鼠标在图像上移动并拖动时,我试图禁用图像上的突出显示, 看一看 :
非常感谢!
最佳答案
使用user-select属性:
img{
-khtml-user-select: none;
-o-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
关于html - 如何禁用图像上的突出显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6816080/