Created
October 21, 2017 18:29
-
-
Save vermasachin/8c96300ed3244a10581bee314a362725 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// General Settings | |
window.sr = ScrollReveal({ reset: false }); | |
// Custom Settings | |
sr.reveal('.first', { | |
origin: 'right', | |
duration: 1200, | |
scale: 1, | |
distance: '200px', | |
useDelay: 'once', | |
}); | |
sr.reveal('.second', { | |
origin: 'left', | |
duration: 1200, | |
scale: 1, | |
distance: '200px', | |
useDelay: 'once', | |
}); | |
sr.reveal('.third', { | |
origin: 'bottom', | |
duration: 1200, | |
scale: 1, | |
distance: '200px', | |
useDelay: 'once', | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment