Is it possible to make an animation that following by screen? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it possible to make an animation that following by screen?

You know phones' screen is small to make animation.Imagine , you have a 50x50 div block and you want to animate that.When this block goes off the screen , screen starts to following that.Is it possible to make?If it is possible can you help me please ?(btw if it is possible in css ,better to make it in css )

27th Aug 2019, 5:38 PM
Aziz Mandıracı
Aziz Mandıracı - avatar
11 Answers
0
What do you mean with screen following?
29th Aug 2019, 7:47 PM
David
David - avatar
0
@David https://code.sololearn.com/WYYFRUpERF92/?ref=app Like this code .The block goes off the screen as you can see.My question is ,is it possible to see whole block to the end when it animating.
29th Aug 2019, 8:18 PM
Aziz Mandıracı
Aziz Mandıracı - avatar
0
So you want that the screen is following instead of a block that is running off the screen
29th Aug 2019, 8:20 PM
David
David - avatar
0
@David yeah .you got it :)
29th Aug 2019, 8:20 PM
Aziz Mandıracı
Aziz Mandıracı - avatar
0
But then the block isn't really moving.
29th Aug 2019, 8:21 PM
David
David - avatar
0
For what reason do you need it?
29th Aug 2019, 8:21 PM
David
David - avatar
0
@David just curious about that.possible or not.maybe i will need that in the future if it is possible.
29th Aug 2019, 8:24 PM
Aziz Mandıracı
Aziz Mandıracı - avatar
0
For your concept you need to move the background.
29th Aug 2019, 8:27 PM
David
David - avatar
0
It's something like the side scrolling of the background in Jump'n Runs.
29th Aug 2019, 8:28 PM
David
David - avatar
0
@David whatever,thank u for ur comments.Btw do you know jQuery and JS ?if your answer is yes I want you to look at this problem. https://www.sololearn.com/discuss/1949133/?ref=app
29th Aug 2019, 8:35 PM
Aziz Mandıracı
Aziz Mandıracı - avatar
0
Yes, I can.
29th Aug 2019, 8:36 PM
David
David - avatar