Answers for "div not draggable"

CSS
1

make image not draggable css

user-drag: none; 
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
Posted by: Guest on November-30-2020
2

html image not draggable

<img draggable="false" src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png">
Posted by: Guest on June-20-2021

Browse Popular Code Answers by Language