Clock loading
How do I make an clock loading?
Fiddle of loading animation based on a clock. What is a clock loading? How do you make a clock loading? This script and codes were developed by António Capelo on 15 December 2022, Thursday.
Clock loading - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Clock loading</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="main"> <h1 class="title">Loading...</h1> <div class="clock"> <div class="seconds"></div> <div class="minutes"></div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script>
</body>
</html>
Clock loading - Script Codes CSS Codes
html { background: #999778;
}
.main { position: relative; width: 100%; height: 420px; text-align: center;
}
.main .clock { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; border: 20px solid #5C484E; border-radius: 50%;
}
.main .clock .seconds { height: 40%; width: 1%; background: #5C484E; border: 5px solid #5C484E; border-radius: 8px; position: absolute; top: 50%; left: 50%; transform-origin: 10% 0%; animation: rotate-second linear 2s infinite;
}
.main .clock .minutes { height: 35%; width: 1%; background: #5C484E; border: 6px solid #5C484E; border-radius: 8px; position: absolute; top: 50%; left: 50%; transform-origin: 10% 0%; animation: rotate-minutes linear 8s infinite;
}
.main .title { color: #4C4C44; font-size: 40px; font-family: Arial; margin: 20px auto;
}
@keyframes rotate-second { 0% { transform: rotate(0deg) translate(-50%, -90%); } 100% { transform: rotate(360deg) translate(-50%, -90%); }
}
@keyframes rotate-minutes { 0% { transform: rotate(0deg) translate(-50%, -90%); } 100% { transform: rotate(360deg) translate(-50%, -90%); }
}
Developer | António Capelo |
Username | capelo |
Uploaded | December 15, 2022 |
Rating | 3 |
Size | 2,351 Kb |
Views | 6,072 |
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!
Name | Size |
Custom checkbox example | 3,495 Kb |
AngularJS Modal Factory | 3,839 Kb |
Brainerd scroller | 3,165 Kb |
Menu with following underline | 2,648 Kb |
Full-width slider. | 3,886 Kb |
Room | 5,196 Kb |
Background cover | 3,735 Kb |
8-Bit Avatar | 2,527 Kb |
Donut Chart example - MorrisJS | 2,385 Kb |
ToDo | 8,475 Kb |
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!
Name | Username | Size |
Mobile Sub Menu Concept | Berdejitendra | 2,790 Kb |
Scroll to top button | DominicFrancois | 3,743 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
Custom Select Element | Agrayson | 3,616 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Growing Root - Scroll control - CANVAS | Cjonasw | 2,342 Kb |
Header Line Issue | Charlie-volpe | 1,768 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
Ralph Lauren Mimic | Azureknight | 3,067 Kb |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!