css条纹波浪动画效果代码
代码语言:html
所属分类:动画
代码描述:css条纹波浪动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html>
<head>
<style>
* {
box-sizing: border-box;
}
html {
width: 100%;
height: 100%;
}
body {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
transform: translate3d(0, 0, 0);overflow: hidden
}
.clearfix {
zoom: 1;
}
.clearfix:before, .clearfix:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden;
}
.clearfix:after {
clear: both;
}
body {
background: #2c3e50;
}
.container {
position: relative;
width: 10em;
height: 5em;
font-size: 50px;
overflow: hidden;
}
.wave {
border-width: 0.1em;
border-style: solid;
position: absolute;
-webkit-animation: wave 1500ms infinite alternate;
animation: wave 1500ms infinite alternate;
transform: rotate(-44.5deg);
}
.wave:nth-child(1) {
width: 9.5125em;
height: 9.5125em;
bottom: -4.75625em;
left: 0.24375em;
-webkit-animation-delay: 75ms;
animation-delay: 75ms;
border-color: transparent transparent #1abc9c #1abc9c;
border-radius: 9.5125em;
}
.wave:nth-child(2) {
width: 9.025em;
height: 9.025em;
bottom: -4.5125.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0