I am trying to create a hover event that shows an image. On my desktop/laptop it fires correctly. However on a mobile (touch), the image only appears when the modal link is clicked, then it is sticky (it stays on screen).
On mobile or touch-screens, i don't want the hover event to fire.
Here is what i am working with.
Jsfiddle
https://ift.tt/33hvF4A
HTML
<a href="#test" id="test-parent">Hover to show image</a>
<img class="preview" id="test-child"...
HTML:
from Programming https://ift.tt/37DDAwo
via IFTTT
0 Comments