/react-vanilla-parallax

Simple parallax implementation without the use of additional modules

Primary LanguageJavaScript

Simple Implementation of Parallax

Parallax without any parallax plugins. Uses TweenMax to animate the layers but that can easily be swapped out with another (vanilla JS) solution.

Works with a dynamic number of layers!

Works with React 16+.

Example:

GIF Image Courtesy of Epic Games: Robo Recall

Run App

  1. open command Prompt/Terminal in working directory and run: yarn install
  2. after dependencies are installed run yarn start and a browser window should pop up on page 'http://localhost:3000'

The 'goods' are in the src folder. Check out App.js and Parallax.js / Parallax.sass! Enjoy!