How can i on/off this fan by switch by hovering effect? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How can i on/off this fan by switch by hovering effect?

Switch is not working! https://code.sololearn.com/WVPjFNpKEt50/?ref=app

24th May 2020, 10:04 AM
ᗪ尺卂匚凵ㄥ卂
ᗪ尺卂匚凵ㄥ卂 - avatar
3 ответов
+ 1
I only used hover in JS so can't help with CSS usage.
24th May 2020, 8:27 PM
John Wells
John Wells - avatar
0
A mouse is required for hover to respond correctly.
24th May 2020, 8:10 PM
John Wells
John Wells - avatar
0
I have a mouse and this design is for pc! I just need a method to play animation by on off switch on hover.
24th May 2020, 8:25 PM
ᗪ尺卂匚凵ㄥ卂
ᗪ尺卂匚凵ㄥ卂 - avatar