Can I animate a background wallpaper, slow left.. then right
Posted: Wed Jun 10, 2015 5:06 pm
I have a DIV with a large background image, set to be 100% width, so it's stretched to fit. It's clouds.
I'd like the image to slowly go across the DIV.. and when it reaches the end, it goes back the other way. so it's like clouds moving at the top of the web site.
I've seen a few animations in CSS, but they seem to just slide the whole image left to right. I need the image to be like perhaps 120% of the DIV, so when it moves left to right, there are no "gaps" left or right. So it looks like you are looking outside.
Is this poss?
Attached is the image I am using.
I'd like the image to slowly go across the DIV.. and when it reaches the end, it goes back the other way. so it's like clouds moving at the top of the web site.
I've seen a few animations in CSS, but they seem to just slide the whole image left to right. I need the image to be like perhaps 120% of the DIV, so when it moves left to right, there are no "gaps" left or right. So it looks like you are looking outside.
Is this poss?
Attached is the image I am using.