CoCreate-parallax

A stunning css effect in which the background moves at a slower pace than the foreground. Resulting in 3D effect when users scroll up/down the webpage.

Install

npm i @cocreate/parallax

Or you can use cdn link:

<script>https://cdn.cocreate.app/parallax/latest/CoCreate-parallax.min.js</script>

Usage

This is parallax usage

<div></div>

This is parallax usage

This is parallax usage

Attributes

  • parallax string optional

    parallax-attribute

  • parallax string optional

    parallax-attribute

Demo