Is there a way to prevent the user from seeing a ghost of the image they are trying to drag (not concern about security of the images, but the experience).
I've tried this which fixes the problem with the blue selection on text and images but not the ghost image:
img {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}
(I also tried nesting the image inside a div with the same rules applied to the div).
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…