Answer the question
In order to leave comments, you need to log in
How to make continuous image shift left-right?
Let's say we have a web page that has a floating width of 320 to 1920 pixels.
This page has an image that is 3000px wide and the left side of that image is nestled against the left edge of the web page ( jsfiddle.net/38qenpw2 )
Question: How do I make this image smoothly move continuously to the right (to the end), then to the left (to the end), and on a new one?
Thanks in advance! :)
Answer the question
In order to leave comments, you need to log in
Use marquee!
°• Usage example •°
Via jQuery.animate: jsfiddle.net/m3yq25n0/1
Oh my god - it's easy on CSS3 = look towards CSS3 Animation, Keyframes. ..
You make the necessary movement and then: animation-iteration-count: infinite; - determines how many times the animation loop will play before stopping.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question