So I've made my own SVG line icon in adobe illustrator, I want to import it into my code however when I use:
<img class="shape-1" src="assets/images/widgeticon.svg" alt="shape">
I am able to hover over the icon and drag it, I would like a method in which I am unable to drag the icon off the webpage (for example dragging it into a new tab) - I hope i'm making sense.
I have previously used this function:
<i class="lni-thought"></i>
However this was done using a LineIcons.css, how can I recreate this on my own terms so that the icon does not move if attempted to be dragged off the screen?
Strange question I know, look forward to your answers!