A
A
Andrew2015-10-07 07:50:47
css
Andrew, 2015-10-07 07:50:47

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

3 answer(s)
V
Vitaly Inchin ☢, 2015-10-07
@escalade

Use marquee!
°• Usage example •°
Via jQuery.animate: jsfiddle.net/m3yq25n0/1

Y
ya_yshel_rabotati_v_teleg, 2015-10-07
@ya_yshel_rabotati_v_teleg

using jquery you can (animate)

A
Alex Sokol, 2015-10-07
@Sokol_ua

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 question

Ask a Question

731 491 924 answers to any question