Loading Animation in css
<!DOCTYPE html>
<html>
<head>
<title>Loading Animation</title>
</head>
<style type="text/css">
.loader {
width: 60px;
height: 60px;
background: transparent;
border: 10px solid transparent;
border-top-color: #f56;
border-left-color: #f56;
border-radius: 50%;
animation: loader .75s 10 ease forwards;
}
@keyframes loader {
100% {
transform: rotate(360deg);
}
}
</style>
<body>
<div class="loader"></div>
</body>
</html>
<html>
<head>
<title>Loading Animation</title>
</head>
<style type="text/css">
.loader {
width: 60px;
height: 60px;
background: transparent;
border: 10px solid transparent;
border-top-color: #f56;
border-left-color: #f56;
border-radius: 50%;
animation: loader .75s 10 ease forwards;
}
@keyframes loader {
100% {
transform: rotate(360deg);
}
}
</style>
<body>
<div class="loader"></div>
</body>
</html>
Comments
Post a Comment