Why my css dino animation not doing help | SoloLearn: Learn to code for FREE!

+4

Why my css dino animation not doing help

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

8/6/2020 1:56:23 PM

Tony Sharma(HARYANVI IS BEST)

12 Answers

New Answer

+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

+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

+3

https://code.sololearn.com/WZx58JEjh2fn/?ref=app check it out. it is working now.

+2

Aji ꦄꦗꦶ Raj_Srivastava™ ✔️ ✨Tuktuk.💞... Tania Khan [email protected]😏😏 Namit Jain Coder AZHAGESAN S Rishu MiCaVi 👑 Director Animator Website.

+2

toto(Learning javaScript) Ankit Pandit ★ Don’t Know ★

+2

+2

[email protected]😏😏 I said in css why it is not animation

+2

It is animating, what's wrong

+2

[email protected]😏😏 Grey box is not animating

+2

replace .animate with .dino

+1

You're missing the jump() function

+1

You have given same values 150px, see agian your code once