How to animate an object from bottom to top using javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to animate an object from bottom to top using javascript?

7th Jul 2018, 7:36 AM
Aanisha Bhattacharyya
Aanisha Bhattacharyya - avatar
8 Answers
+ 7
something like this? try improving it to your satisfaction https://code.sololearn.com/WjPEDynY341Z/?ref=app
7th Jul 2018, 9:03 AM
Burey
Burey - avatar
+ 8
🤘
7th Jul 2018, 9:08 AM
Burey
Burey - avatar
+ 6
you will have to give more info or a code to work with is it a canvas animation? contained elements? (div inside a container div for example) svg animation? the basics of animating changes according to what technique you are using
7th Jul 2018, 8:51 AM
Burey
Burey - avatar
7th Jul 2018, 8:54 AM
Calviղ
Calviղ - avatar
+ 2
This is what I wanted.Thanks Burey 😊
7th Jul 2018, 9:05 AM
Aanisha Bhattacharyya
Aanisha Bhattacharyya - avatar
0
Here is the lesson about CSS3 animations (you don't need to use Javascript): https://www.sololearn.com/learn/CSS/2253/?ref=app https://www.sololearn.com/learn/CSS/2254/?ref=app
7th Jul 2018, 8:02 AM
giannismach
giannismach - avatar
0
Burey,Calviղ it is this code.I want the green bar to go up after reaching the bottom. https://code.sololearn.com/WzewTr67eBAB/?ref=app
7th Jul 2018, 8:53 AM
Aanisha Bhattacharyya
Aanisha Bhattacharyya - avatar
0
Actually I want to animate using JavaScript Calviղ .
7th Jul 2018, 8:55 AM
Aanisha Bhattacharyya
Aanisha Bhattacharyya - avatar