安装
可以通过npm来安装three-dots.css。
npm install three-dots --save
在页面中引入three-dots.css。
然后在你需要添加Loading效果的容器上添加相应的class类即可。
可用的class类有:
dot-elastic dot-pulse dot-flashing dot-collision dot-revolution dot-carousel dot-typing dot-windmill dot-bricks dot-floating dot-fire dot-spin dot-falling dot-stretching
该CSS3 loading三圆点加载动画特效的github地址为:https://github.com/nzbin/three-dots
上一篇:微信小程序中怎么新建项目