Skip to content

ducviet321/Perspective.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perspective.js

Create 3D-like elements on scroll (no jQuery)

Usage: new Perspective( [element], [amount] )

Example:

new Perspective('h1', 150) // Turn all h1 tag into perspective elements
new Perspective('img', 80) // Image will move less than h1

Demo:

Inspired by https://201d.jp

About

Create 3D-like elements follow your scroll

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published