Parallax effect

Create spectacular-looking pages using CSS Parallax effects.

Usage

To apply this feature you need to create primary <DIV> element: with initial class .parallax. If you use image source for this parallax object add an additional class .with-image and set to him style for background image source style="background-image: url('your-image.jpg');". The Rarallax effect consists of two or more <DIV> blocks that are two types: having a fixed and sliding position. For fixed position <DIV> creating add an additional class .major, for sliding - class .minor. Inside this <DIV's> you can put any HTML object. If you want inside Parallax <DIV> have stylish panels add child outer <DIV> like that: <div class="title-outer">.

Show Source

Example

Pure CSS Parallax

Slide 1

Lorem ipsum dolor sit amet, in velit iudico mandamus sit, persius dolorum in per, postulant mnesarchum cu nam. Malis movet ornatus id vim, feugait detracto est ea, eam eruditi conceptam in. Ne sit explicari interesset. Labores perpetua cum at. Id viris docendi denique vim.

Slide 2

Lorem ipsum dolor sit amet, in velit iudico mandamus sit, persius dolorum in per, postulant mnesarchum cu nam. Malis movet ornatus id vim, feugait detracto est ea, eam eruditi conceptam in. Ne sit explicari interesset. Labores perpetua cum at. Id viris docendi denique vim.

Content 1

Lorem ipsum dolor sit amet, in velit iudico mandamus sit, persius dolorum in per, postulant mnesarchum cu nam. Malis movet ornatus id vim, feugait detracto est ea, eam eruditi conceptam in. Ne sit explicari interesset. Labores perpetua cum at. Id viris docendi denique vim.

Slide 3

Lorem ipsum dolor sit amet, in velit iudico mandamus sit, persius dolorum in per, postulant mnesarchum cu nam. Malis movet ornatus id vim, feugait detracto est ea, eam eruditi conceptam in. Ne sit explicari interesset. Labores perpetua cum at. Id viris docendi denique vim.

This page has been viewed: 1294 time(s)