How to make moving back ground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make moving back ground?

4th May 2020, 11:19 AM
Siddhant
Siddhant - avatar
3 Answers
+ 19
As an example, you can set an image as a background and move it with CSS animation. https://code.sololearn.com/Wz1x8gR7970V/?ref=app Is this right? I'm not good at English, so I'm sorry if I'm wrong.
5th May 2020, 1:10 AM
Akiho
Akiho - avatar
+ 1
I never tried but maybe use animation to move left and top properties of image ,just a thought
4th May 2020, 11:37 AM
Abhay
Abhay - avatar
0
You need to use css animation on background-position property. Check this out : https://www.w3schools.com/cssref/tryit.asp?filename=trycss_anim_background-position
4th May 2020, 12:10 PM
Amey Bhavsar
Amey Bhavsar - avatar