Animated Clock
How do I make an animated clock?
What is a animated clock? How do you make a animated clock? This script and codes were developed by Yang Li on 13 July 2022, Wednesday.
Animated Clock - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated Clock</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="clock"> <div id="seconds"> <img src="http://www.deltatwatch.com/Pic/Clock/secondHand.png" alt="" /> </div> <div id="minutes"> <img src="http://paulrhayes.com/experiments/clock/images/minuteHand.png" alt="" /> </div> <div id="hours"> <img src="http://paulrhayes.com/experiments/clock/images/hourHand.png" alt="" /> </div>
</div>
</body>
</html>
Animated Clock - Script Codes CSS Codes
img { width: 100%; height: 100%;
}
#clock { background-color: grey; background-image: url("http://www.clipartbest.com/cliparts/pc5/eMA/pc5eMAaBi.png"); height: 600px; width: 600px; position: relative; animation: changeColor 60s infinite linear;
}
#seconds, #minutes, #hours { width: 100%; height: 100%; position: absolute; left: 0; top: 0;
}
@keyframes rotate { 100% {transform: rotate(360deg);}
}
#hours { animation: rotate 43200s infinite linear;
}
#minutes { animation: rotate 3600s infinite linear;
}
#seconds { animation: rotate 60s infinite linear;
}
@keyframes changeColor { 0% {background-color: grey;} 25% {background-color: lightgreen;} 50% {background-color: lightblue;} 75% {background-color: lightred;} 100% {background-color: grey;}
}
Developer | Yang Li |
Username | aussieyang |
Uploaded | July 13, 2022 |
Rating | 3 |
Size | 1,743 Kb |
Views | 40,480 |
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 |
My Friends Starter | 1,573 Kb |
Battleships Starter | 2,429 Kb |
Goalkeeper | 2,373 Kb |
Simple Hamburger Menu | 2,099 Kb |
Sunny Day Driving Starter | 1,563 Kb |
Highlight Me Starter | 1,628 Kb |
Click Me, Name Me | 2,113 Kb |
Fellowship of the Ring | 2,639 Kb |
Responding Boxes | 1,943 Kb |
Birthday Party Starter | 1,629 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 |
Blank Starter | Mhartington | 2,171 Kb |
Siema - add pagination to prototype | Pawelgrzybek | 2,575 Kb |
Sass Radar | Jlong | 6,887 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
Adding Items | Valhead | 4,008 Kb |
Lazy Load for Background Images | The_ruther4d | 2,977 Kb |
Airbnb Homepage | SindhujaD | 2,480 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
Webkit decolorize | Fivera | 1,675 Kb |
Parallax-ish Sliding Content | Jdsteinbach | 2,748 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!