Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 381 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 381 Bytes

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