<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>top</title>
<style>
.line_box{ width: 100px; height: 100px; margin: 100px auto; text-align: center;}
.line_box>div{ display: inline-block; width: 5px; height: 100px; background: green;
-webkit-animation: strechdelay 1.2s infinite ease-in-out;
-moz-animation: strechdelay 1.2s infinite ease-in-out;}
.line_box .line2{ -webkit-animation-delay: -1.1s;}
.line_box .line3{ -webkit-animation-delay: -1.0s;}
.line_box .line4{ -webkit-animation-delay: -0.9s;}
.line_box .line5{ -webkit-animation-delay: -0.8s;}
.line_box .line6{ -webkit-animation-delay: -0.7s;}
.line_box .line7{ -webkit-animation-delay: -0.6s;}
@-webkit-keyframes strechdelay{
0%,40%,100%{
-webkit-transform: scaleY(0.4);
}
20%{
-webkit-transform: scaleY(1);
}
}
@-moz-keyframes strechdelay{
0%,40%,100%{
-moz-transform: scaleY(0.4);
}
20%{
-moz-transform: scaleY(1);
}
}
</style>
</head>
<body>
<div class="line_box">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
<div class="line4"></div>
<div class="line5"></div>
<div class="line6"></div>
<div class="line7"></div>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>top</title>
<style>
.line_box{ width: 100px; height: 100px; margin: 100px auto; text-align: center;}
.line_box>div{ display: inline-block; width: 5px; height: 100px; background: green;
-webkit-animation: strechdelay 1.2s infinite ease-in-out;
-moz-animation: strechdelay 1.2s infinite ease-in-out;}
.line_box .line2{ -webkit-animation-delay: -1.1s;}
.line_box .line3{ -webkit-animation-delay: -1.0s;}
.line_box .line4{ -webkit-animation-delay: -0.9s;}
.line_box .line5{ -webkit-animation-delay: -0.8s;}
.line_box .line6{ -webkit-animation-delay: -0.7s;}
.line_box .line7{ -webkit-animation-delay: -0.6s;}
@-webkit-keyframes strechdelay{
0%,40%,100%{
-webkit-transform: scaleY(0.4);
}
20%{
-webkit-transform: scaleY(1);
}
}
@-moz-keyframes strechdelay{
0%,40%,100%{
-moz-transform: scaleY(0.4);
}
20%{
-moz-transform: scaleY(1);
}
}
</style>
</head>
<body>
<div class="line_box">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
<div class="line4"></div>
<div class="line5"></div>
<div class="line6"></div>
<div class="line7"></div>
</div>
</body>
</html>