gpt4 book ai didi

html - 如何禁用图像上的突出显示

转载 作者:技术小花猫 更新时间:2023-10-29 11:59:53 24 4
gpt4 key购买 nike

当我用鼠标在图像上移动并拖动时,我试图禁用图像上的突出显示,看一看 : enter image description here

非常感谢!

最佳答案

使用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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com