Skip to content

An ultra-lightweight parallax library powered by CSS variables

Notifications You must be signed in to change notification settings

4-x/tiny-parallax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Tiny Parallax

An ultra-lightweight parallax library powered by CSS variables

Read more here

How to use it

Include tiny-parallax.css and tiny-parallax.js in your page.

Add classes to elements in the following format par-<direction>-<speed>. Where direction is the direction that the element should move when you scroll and speed is an integer between 0 and 20. So the class name should look something like this par-up-02.

About

An ultra-lightweight parallax library powered by CSS variables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages