Skip to content

Instantly share code, notes, and snippets.

@Spellhammer
Created October 2, 2020 17:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Spellhammer/8b6edfb4ce33101fef5d9d5f965001ef to your computer and use it in GitHub Desktop.
Save Spellhammer/8b6edfb4ce33101fef5d9d5f965001ef to your computer and use it in GitHub Desktop.
rellax.js initialization
jQuery(document).ready( function() {
var rellax = new Rellax('.rellax', {
speed: -2,
center: false,
wrapper: null,
round: true,
vertical: true,
horizontal: false
});
})
@jmcbade
Copy link

jmcbade commented Jan 22, 2022

Is there a non-jquery alternative?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment