-
Notifications
You must be signed in to change notification settings - Fork 0
nelsonz/Parallax
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A quick JQuery-based script to easily recreate the parallax effects on Github's 404 page. Requires JQuery. Usage: Create a div with id "parallax-parameters" and attributes data-origin, data-x-ratio, data-y-ratio to easily store the origin and shift ratios. All elements under the .parallax class are moveable, and require an attribute data-pos, which will determine the amount it shifts relative to data-origin. If an element is dynamically inserted at any point and needs to be moveable, register it using registerObject(element).
About
Easily generate parallax effects on a webpage.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published