Circle loading

Developer
Size
2,932 Kb
Views
78,936

How do I make an circle loading?

Clip method was used. What is a circle loading? How do you make a circle loading? This script and codes were developed by Adem Ilter on 11 June 2022, Saturday.

Circle loading Previews

Circle loading - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Circle loading</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id='loading'> <div class='outer-shadow'></div> <div class='inner-shadow'></div> <div class='timer'> <div class='dot'> <span></span> </div> <div class='hold' id='left'> <div class='pie'></div> </div> <div class='hold' id='right'> <div class='pie'></div> </div> </div>
</div>
</body>
</html>

Circle loading - Script Codes CSS Codes

html { background-color: #dde6f0;
}
#loading { width: 100px; height: 100px; margin: 30px auto; position: relative;
}
.outer-shadow, .inner-shadow, #timer { z-index: 6; position: absolute; width: 100%; height: 100%; border-radius: 100%; box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
}
.inner-shadow { top: 50%; left: 50%; width: 80px; height: 80px; margin-left: -40px; margin-top: -40px; border-radius: 100%; background-color: #dde6f0; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#timer { z-index: 1; box-shadow: none;
}
.hold { position: absolute; width: 100%; height: 100%; clip: rect(0px, 100px, 100px, 50px); -webkit-border-radius: 100%; background-color: #fff;
}
.pie, .dot span { background-color: #f50;
}
.pie { position: absolute; width: 100%; height: 100%; -webkit-border-radius: 100%; clip: rect(0px, 50px, 100px, 0px);
}
#left .pie { z-index: 1; -webkit-animation: left 4s linear both;
}
@-webkit-keyframes left { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(180deg); }
}
#right { z-index: 3; -webkit-transform: rotate(180deg);
}
#right .pie { -webkit-animation: right 4s linear both; -webkit-animation-delay: 4s;
}
@-webkit-keyframes right { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(180deg); }
}
.dot { z-index: 2; position: absolute; left: 50%; top: 50%; width: 50%; height: 10px; margin-top: -5px; -webkit-animation: dot 8s linear both; -webkit-transform-origin: 0% 50%;
}
.dot span { position: absolute; right: 0; width: 10px; height: 10px; border-radius: 100%;
}
@-webkit-keyframes dot { 0% { -webkit-transform: rotate(-90deg); } 50% { -webkit-transform: rotate(90deg); z-index: 4; } 100% { -webkit-transform: rotate(270deg); z-index: 4; }
}
Circle loading - Script Codes
Circle loading - Script Codes
Home Page Home
Developer Adem Ilter
Username ademilter
Uploaded June 11, 2022
Rating 4.5
Size 2,932 Kb
Views 78,936
Do you need developer help for Circle loading?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Adem Ilter (ademilter) Script Codes
Create amazing love letters with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!