+ 8

In this code Why isnt the gif sliding towards left side???

https://code.sololearn.com/WXcDViJu8crF/?ref=app Why isnt it working? I want the gif to be slided left side -50vw as we click on it.

24th May 2021, 9:53 AM
The INDIAN
The INDIAN - avatar
3 Antworten
0
Change your div to a button. Some devices dont support onclick. If you change it to a button, it should work on your device
24th May 2021, 10:44 AM
Brain & Bones
Brain & Bones - avatar
0
It's working just do code intending And add this.transform = "translateX(-100%)"
26th May 2021, 2:29 AM
Manthan Kangtani
Manthan Kangtani - avatar
0
heck akun ff
5th Jun 2021, 9:00 AM
Wahyu Ridho Purnomo
Wahyu Ridho Purnomo - avatar