Skip to content
项目

关于

在滚动时模拟 CSS 关键帧的动画库。

设计与媒体

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

let newAnimation = new Motus.Animation({
  $el: document.getElementById('element'),
  keyframes: [
    {width: 100},
    {width: 300}
  ]
});
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.

探索相关项目

加载中…