Loading Wave Animation in css
In this tutorials i am create loading wave animation in css you can add this code to add the waiting time from the download the file and waiting time for the open the page .
Check the code and also run . You can use the code for the free . so enjoy the code . The code is below .
<!DOCTYPE html>
<html>
<head>
<title>Loading Wave Animation in css</title>
<style type="text/css">
body{
background-color: blue;
}
.load{
margin: 300px auto;
width: 50px;
height: 60px;
text-align: center;
font-size: 15px;
}
.load > div{
background-color: white;
height: 100%;
width: 6px;
display: inline-block;
-webkit-animation: sa-stretchdelay 1.4s infinite ease-in-out;
animation: sa-stretchdelay 1.4s infinite ease-in-out;
}
.load .load_2{
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}
.load .load_3{
-webkit-animation-delay: -1.0s;
animation-delay: -1.0s;
}
.load .load_4{
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}
.load .load_5{
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}
@keyframes sa-stretchdelay{
0%, 40%, 100%{
transform:scaleY(0.4);
-webkit-transform:scaleY(0.4);
}
20%{
transform:scaleY(1.0);
-webkit-transform:scaleY(1.0);
}
</style>
</head>
<body>
<div class="load">
<div class="load_1"></div>
<div class="load_2"></div>
<div class="load_3"></div>
<div class="load_4"></div>
<div class="load_5"></div>
</div>
</body>
</html>
Check the code and also run . You can use the code for the free . so enjoy the code . The code is below .
<!DOCTYPE html>
<html>
<head>
<title>Loading Wave Animation in css</title>
<style type="text/css">
body{
background-color: blue;
}
.load{
margin: 300px auto;
width: 50px;
height: 60px;
text-align: center;
font-size: 15px;
}
.load > div{
background-color: white;
height: 100%;
width: 6px;
display: inline-block;
-webkit-animation: sa-stretchdelay 1.4s infinite ease-in-out;
animation: sa-stretchdelay 1.4s infinite ease-in-out;
}
.load .load_2{
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}
.load .load_3{
-webkit-animation-delay: -1.0s;
animation-delay: -1.0s;
}
.load .load_4{
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}
.load .load_5{
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}
@keyframes sa-stretchdelay{
0%, 40%, 100%{
transform:scaleY(0.4);
-webkit-transform:scaleY(0.4);
}
20%{
transform:scaleY(1.0);
-webkit-transform:scaleY(1.0);
}
</style>
</head>
<body>
<div class="load">
<div class="load_1"></div>
<div class="load_2"></div>
<div class="load_3"></div>
<div class="load_4"></div>
<div class="load_5"></div>
</div>
</body>
</html>

Comments
Post a Comment