<< Go back to article

Parallax On Video

Scroll down or up to see the effect (make sure your browser support video element). This time we're using a video only with HTML5 and CSS3.

If your browser doesn't support <video> element then you just see an image as background.

Parallax With Image Background

Demo Page With Parallax Effect

Adding a parallax effect on a background video really looks great.

The great thing about this parallax tutorial is that it's very easy to implement on your existing page, and there is no need for JavaScript.




Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris dapibus nibh in rhoncus vestibulum. Morbi est dolor, ultricies vel mi vitae, fringilla faucibus tellus. Etiam congue ultrices nisl, finibus vestibulum nisl mattis quis. Donec non semper est, at tempus mi. Curabitur non risus diam. Cras id urna libero. Donec molestie, est non cursus gravida, leo nisi dignissim eros, pellentesque iaculis quam neque eu lorem. Nunc molestie eros massa.



Pellentesque rutrum diam et porta elementum. Sed non sapien eros. Aliquam cursus eleifend nulla, id viverra ex commodo et. Donec lacus nisi, auctor ut mollis eu, iaculis tristique libero. Maecenas risus dolor, accumsan nec orci eu, sodales laoreet risus. Vivamus porttitor quam nunc, ac scelerisque orci interdum sed.



Curabitur sit amet elit urna. Donec facilisis augue vel lacinia pulvinar. In lacinia et erat ut consectetur. Vivamus sit amet arcu nisl. Quisque ipsum nulla, malesuada vitae urna ac, placerat bibendum purus. Fusce ac vestibulum odio. Aliquam facilisis lorem metus, sit amet rhoncus dolor pharetra et. Nullam non nisi sit amet nunc dapibus interdum eget quis arcu.