项目作者: alexcambose

项目描述 :
Animation library that mimics CSS keyframes when scrolling.
高级语言: JavaScript
项目地址: git://github.com/alexcambose/motus.git
创建时间: 2018-05-22T18:42:59Z
项目社区:https://github.com/alexcambose/motus

开源协议:MIT License

下载


Motus Logo


Build
Coveralls github
npm bundle size
Gitter
GitHub issues
version
license
maintenance




Why Motus ?

Motus allows developers to create beatuful animations that simulate CSS keyframes and are applied when the user scrolls.

Features

  • Node & Browser Support
  • Simple and intuitive api
  • Scroll hooks
  • Both vertical and horizontal scrolling

Getting started

Check out the Quick Start documentation to get started.

Live demo

Parallax demo

Usage

  1. let newAnimation = new Motus.Animation({
  2. $el: document.getElementById('element'),
  3. keyframes: [
  4. {width: 100},
  5. {width: 300}
  6. ]
  7. });
  8. Motus.addAnimation(newAnimation);


Contributing

  • Fork it
  • Create your feature branch
  • Do something awesome
  • Commit what you have done git commit -am 'Some changes'
  • Push to the branch git push origin my-new-feature
  • Submit a pull request

For further information about the project please see the development section from the documentation.

Credits

Motus is created and maintained by Alexandru Cambose (alexcambose)

I’m open to suggestions. Feel free to message me or open an issue. Pull requests are also welcome!

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]










License

Motus is made available under the MIT License.