代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>水波纹效果</title>
<style>
.wave-content {
height: 666px;
width: 666px;
left: 255px;
top: 139px;
position: relative;
}
.wave {
position: absolute;
left: 0px;
top: 0px;
height: 100%;
width: 100%;
transform-origin: center center;
background-color: transparent;
border: 1px solid #979797;
animation-duration: 7s;
animation-name: wv;
animation-timing-function: linear;
animation-iteration-count: infinite;
border-radius: 50%;
opacity: 0;
}
.wave1 {
animation-delay: 0s;
}
.wave2 {
animation-delay: 1.5s;
}
.wave3 {
animation-delay: 3s;
}
.wave4 {
animation-delay: 4.5s;
}
@keyframes wv {
0% {
opacity: 0;
transform: scale(0.5);
}
30% {
opacity: 0.7;
transform: scale(0.65);
}
70% {
opacity: 0.1;
transform: scale(0.85);
}
100% {
opacity: -0.2;
transform: scale(1);
}
}
</style>
</head>
<body>
<div class="wave-content ">
<div class="wave wave1 "></div>
<div class="wave wave2 "></div>
<div class="wave wave3 "></div>
<div class="wave wave4"></div>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。