css3动画-渐隐渐现
关闭电脑开机密码测试
<!DOCTYPE html>
<html lang="en">
<head>
<meta chart="UTF-8">
<title></title>妒忌什么意思
<style>
cpu包括
.anim-opacity2{animation: 2s opacity2 0s infinite; -webkit-animation: 2s opacity2 0s infinite;-moz-animation: 2s opacity2 0s infinite;} @keyframes opacity2{
0%{opacity:0}
重力的方向50%{opacity:.8;}
100%{opacity:0;}
}
@-webkit-keyframes opacity2{
0%{opacity:0}
50%{opacity:.8;}
100%{opacity:0;}
}
@-moz-keyframes opacity2{
0%{opacity:0}
50%{opacity:.8;}
100%{opacity:0;}
}
</style>
</head>
<body>
<h1 class="anim-opacity2">测试</h1>
</body>
</html>巫师之怒
demo2
<!DOCTYPE html>
<html lang="en">
<head>
<meta chart="UTF-8">
<title></title>
<style>
总结与计划.anim-opacity2{
皇冠大扶梯
width: 100px;
height: 100px;
background-color: #FFAC8B;
border-radius: 50%;
animation: 2s opacity2 0s infinite;
-webkit-animation: 2s opacity2 0s infinite; -moz-animation: 2s opacity2 0s infinite; position: relative;
}
div{
line-height: 50px;
width: 50px;
整改承诺height: 50px;
position: absolute;
top:40px;
left:30px;
background-color: #FF6D15;
border-radius: 50%;
z-index: 999;
text-align: center;
}
@keyframes opacity2{
0%{opacity:0}
50%{opacity:.8;}
100%{opacity:0;}
}
@-webkit-keyframes opacity2{
0%{opacity:0}
50%{opacity:.8;}
100%{opacity:0;}
}
@-moz-keyframes opacity2{
0%{opacity:0}
50%{opacity:.8;}
100%{opacity:0;}
}
</style>
</head>
<body>
<h1 class="anim-opacity2"></h1>
<div>测试</div>
</body>
</html>