Simple CSS and jQuery for Parallax Scrolling | Paralex

Mobile-friendly Parallax Scrolling Effect In jQuery. It can be placed under any HTML element. Sizes: Third, half, full screen. The area will automatically expand for text size.

Scroll speed: slow, medium, and fast. Change the background image size and the effect of moving at different rates.

Background effect: Scroll using the mouse, go reverse mouse, fixed background

Background Inline Patterns: Background, Background Stand, Outlable

The background position is a focal point, when the background image is cropped to fit the area, the image will focus on the background-position.

Outlable: 0.3 Jamil for the dark text.

How to make use of it:

1. Include the jQuery library and the Paralex plugin’s information on the web page.

<link rel="stylesheet" href="/path/to/paralex.css" />
<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/paralex.js"></script>

2. Add background and foreground to the parallax container with the CSS class of ‘paralex’.

<div class="paralex">
  <div class="background" style="
       background: url('bg.jpg');
       background-position-x: 50%;
       background-position-y: 50%;
       opacity: 1;">
  </div>
  <div class="foreground">
    ... foreground content ...
  </div>
</div>

3. Config the animation pace utilizing the next CSS classes.

<div class="paralex slow">
  ...
</div>

<div class="paralex fast">
  ...
</div>

<div class="paralex medium">
  ...
</div>

4. Determine whether or not to alter the height of the parallax container to suit the foreground content utilizing the next CSS classes.

<div class="paralex third">
  ...
</div>

<div class="paralex half">
  ...
</div>

<div class="paralex full">
  ...
</div>

5. Reverse the direction of scrolling.

<div class="paralex reverse">
  ...
</div>

6. Make the background ‘fixed’ position as a substitute for ‘absolute’.

<div class="paralex fixed">
  ...
</div>

Mobile-friendly Parallax Scrolling Effect, Paralex Plugin/Github, full page parallax scroll effect


See Demo And Download

Official Website(easybuckaroo): Click Here

This superior jQuery/javascript plugin is developed by easybuckaroo. For extra Advanced Usage, please go to the official website.

Share