Skip to content

Create a beautiful 3D tilted effect on scroll with jQuery Tilted Page Scroll plugin

License

Notifications You must be signed in to change notification settings

mrkbr/tiltedpage_scroll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Tilted Page Scroll by Pete R. Create a beautilful 3D tilted scrolling effect for your website with jQuery Tilted Page Scroll. Created by Pete R., Founder of Travelistly and BucketListly

Tilted Page Scroll

Demo

View demo

Compatibility

Modern browsers such as Chrome, Firefox, and Safari on both desktop and smartphones have been tested. I have not tested this on IE.

Basic Usage

With this plugin, you can create a beautiful scrolling effect and turn a simple layout website into something surprising.

To do this, first you have to include the latest jQuery library together with jquery.tiltedpage_scroll.js and tiltedpage_scroll.css into your document's <head>. Now lay out your HTML markup as follows:

<div class="main">
  <section class="page1">
    ...
  </section>
  <section class="page2">
    ...
  </section>
  ...
  <section class="last-page">
    ...
  </section>
</div>

That's it for the HTML part. Isn't that easy? Now, you can just call the function like this, and watch the magic happens:

  $(".main").tiltedpage_scroll({
    sectionContainer: "> section",     // In case you don't want to use <section> tag, you can define your won CSS selector here
    angle: 50,                         // You can define the angle of the tilted section here. Change this to false if you want to disable the tilted effect. The default value is 50 degrees.
    opacity: true,                     // You can toggle the opacity effect with this option. The default value is true
    scale: true,                       // You can toggle the scaling effect here as well. The default value is true.
    outAnimation: true                 // In case you do not want the out animation, you can toggle this to false. The defaul value is true.
  });

Now you will have another cool way to showcase your website to your viewers. I hope you find this free plugin useful.

If you want to see more of my plugins, visit The Pete Design, or follow me on Twitter and Github.

Other Resources

  • Tutorial (Coming Soon)

About

Create a beautiful 3D tilted effect on scroll with jQuery Tilted Page Scroll plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 62.6%
  • JavaScript 33.5%
  • CSS 3.9%