纯CSS实现的加载动画:Loaders.css

g2b4 9年前

Loaders.css是一个专注性能纯CSS实现的加载动画效果。

纯CSS实现的加载动画:Loaders.css

What is this?

See the demo

A collection of loading animations written entirely in css. Each animation is limited to a small subset of css properties in order to avoid expensive painting and layout calculations.

I've posted links below to some fantastic articles that go into this in a lot more detail.

Install

bower install loaders.css

Contributing

Pull requests are welcome! Create another file insrc/animationsand load it insrc/loader.scss.

In a separate tab rungulp --require coffee-script. Opendemo/demo.htmlin a browser to see your animation running.

Further research

Suggested use

Wrap the surrounding container indisplay:flexand center the animation.

项目主页:http://www.open-open.com/lib/view/home/1427243793137