O
O
orange_blue2016-05-21 20:33:17
css
orange_blue, 2016-05-21 20:33:17

How to implement such a background animation on the site?

Interested in how to implement or ready-made libraries for such animation:
Many pictures (Repeating) continuously move up or down in a stream. (Needed for the background of the site header)
For example, as photos are lined up in the picture, the image moves upwards repeatingly, the animation is continuous
4248f32017604e4daecb7bb95a343bb1.jpg.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fairlancer, 2016-05-21
@kursorik2

Try like this:

<marquee behavior="scroll" direction="down" bgcolor="#">
    <img src="https://habrastorage.org/files/424/8f3/201/4248f32017604e4daecb7bb95a343bb1.jpg" alt="4248f32017604e4daecb7bb95a343bb1.jpg">
  </marquee>

To make the images move from bottom to top, replace direction="down" with direction="up".
Result: Plunker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question