仅用CSS3创建h5预加载雷达圈
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
#box{
position: relative;
width: 100px;
margin: 100px auto 0;
}
span{
position: absolute;
width: 50px;
height: 50px;
border: 5px solid #fff;
border-radius: 50%;
-webkit-animation: a 4s infinite linear;
}
span:nth-child(1){
-webkit-animation-delay: 0s;
}
span:nth-child(2){
-webkit-animation-delay: 0.66s;
}
span:nth-child(3){
-webkit-animation-delay: 1.33s;
}
@-webkit-keyframes a{
0%{-webkit-transform: scale(0); opacity: 0;}
25%{-webkit-transform: scale(0); opacity: 0.5;}
50%{-webkit-transform: scale(1); opacity: 1;}
75%{-webkit-transform: scale(1.5); opacity: 0.5;}
100%{-webkit-transform: scale(2); opacity: 0;}
}
</style>
</head>
<body style="background-color: darkgreen;">
<div id="box">
<span></span>
<span></span>
<span></span>
</div>
</body>
- 仅用CSS3创建h5预加载跳动圈
- CSS瀑布流模型
- 仅用CSS3创建h5预加载交错圈
- 仅用CSS3创建h5预加载旋转圈
- H5学习小结——div+css创建电子商务静态网页
- H5学习小结——div+css创建电子商务静态网页
- 使用compass更高效的编辑css --- 图片精灵
- CheckBox 单选按钮自定义样式
- div ul li 嵌套后如何解决增加多个li后ul高度自适应问题
- Html+CSS中子选择器
- 编写更好的CSS代码
- 详解 CSS 属性 - 伪类和伪元素的区别
- css入门笔记
- css的几种添加方式
- css3 做一个漂亮的分割线
- HTML&CSS基础学习笔记1.19-DIV标签1
- 替换元素和非替换元素
- 使用纯CSS3创建一个纺锤形分隔线
- css实现二级菜单
- 使用css3制作渐变分割线