当前第2页 返回上一页
完整代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <!DOCTYPE html>
< html >
< head >
< meta charset = "UTF-8" >
< title >Document</ title >
< style >
.load {
margin:300px auto;
width: 150px;
text-align: center;
}
.load div{
width: 30px;
height: 30px;
background-color:rgb(118,224,250);
border-radius: 100%;
display: inline-block;
-webkit-animation: load 1.4s infinite ease-in-out;
-webkit-animation-fill-mode: both;
}
.load .circle1 {
-webkit-animation-delay: -0.32s;
}
.load .circle2 {
-webkit-animation-delay: -0.16s;
}
@-webkit-keyframes load {
0%, 80%, 100% { -webkit-transform: scale(0.0) }
40% { -webkit-transform: scale(1.0) }
}
</ style >
</ head >
< body >
< div class = "load" >
< div class = "circle1" ></ div >
< div class = "circle2" ></ div >
< div class = "circle3" ></ div >
</ body >
</ html >
|
【推荐课程:CSS3教程】
效果图

动态效果图

总结:以上就是本篇文章的全部内容了,通过这篇文章的内容希望大家对CSS3动画有一定的了解,可以做出自己喜欢的页面加载样式。
以上就是CSS3如何实现页面加载效果的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css3如何实现页面加载效果
css中的animation是什么
animation属性怎么用?animation属性详解
css3中animation动画属性如何使用
css3动画属性有哪些
css怎么让图案上下浮动
css3如何实现雪花飘落的效果
更多相关阅读请进入《animation》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » CSS3如何实现页面加载效果