A javascript library designed to give the user control over animations. A demo of the concept is available at Codepen.
- Include the js file in the head of the document.
- Set all animations to only run when the parent class of 'animate' is found on the body.
- Design all animations so that the final "read" state is what the page looks like when there is not animate class
The JS will inject a toggle before any content defaulted to off. When a use clicks the toggle to on, the animations will play.
To override default off Change language Color change Transparent bar fixed position
- Dependancies: Ruby, Sass, Node, NPM, Grunt
- Run
npm install
- Running
node server.js
will open the page on localhost:8080