純CSS實現的加載動畫:Loaders.css

g2b4 9年前發布 | 26K 次閱讀 CSS 前端技術 Loaders.css

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.baiduhome.net/lib/view/home/1427243793137

 本文由用戶 g2b4 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!