0

The image is not rotating if I pressed it a second time Why?

https://code.sololearn.com/Wg2uoFnft7TN/?ref=app

1st Nov 2023, 2:16 PM
P A Arrchith Iyer
P A Arrchith Iyer - avatar
1 ответ
+ 7
By "pressing" you mean touch input? "hover" is not defined for touch. It works because the click on the image is treated as a "hover". Click on a different element on the site, then try clicking the image again.
1st Nov 2023, 2:25 PM
Lisa
Lisa - avatar