+ 5

Why my css dino animation not doing help

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

6th Aug 2020, 1:56 PM
Papa Penguin
12 Respuestas
+ 8
Tony Sharma(Haryanvi) the animation is running but it's position is constant. Here is the fixed code (I also made a little adjustment in the position of dino. Decreased minimum top position from -60px to -50px): https://code.sololearn.com/W2Ch46EriWwU/?ref=app
6th Aug 2020, 2:20 PM
Roopesh
Roopesh - avatar
+ 4
Change top property's values.. and order of animation properties is wrong.. edit : check here 👇 https://www.sololearn.com/learn/CSS/2254/ fixed: https://code.sololearn.com/Wa7062xTqzBK/?ref=app
6th Aug 2020, 2:18 PM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar
+ 3
https://code.sololearn.com/WZx58JEjh2fn/?ref=app check it out. it is working now.
6th Aug 2020, 3:04 PM
Tania Khan
Tania Khan - avatar
6th Aug 2020, 1:57 PM
Papa Penguin
+ 2
Where is js code
6th Aug 2020, 2:06 PM
v@msi😉
v@msi😉 - avatar
+ 2
v@msi😏😏 I said in css why it is not animation
6th Aug 2020, 2:07 PM
Papa Penguin
+ 2
It is animating, what's wrong
6th Aug 2020, 2:08 PM
v@msi😉
v@msi😉 - avatar
+ 2
v@msi😏😏 Grey box is not animating
6th Aug 2020, 2:10 PM
Papa Penguin
+ 2
replace .animate with .dino
6th Aug 2020, 3:00 PM
Tania Khan
Tania Khan - avatar
+ 1
You're missing the jump() function
6th Aug 2020, 2:06 PM
HNNX 🐿
HNNX 🐿 - avatar
+ 1
You have given same values 150px, see agian your code once
6th Aug 2020, 2:12 PM
v@msi😉
v@msi😉 - avatar