Animated Digital Flip Clock

Developer
Size
2,423 Kb
Views
24,288

How do I make an animated digital flip clock?

I was experiment with different types of code and I wanted to make it look like a clock I saw from the 70's but I still haven't gotten the colons and a few more things, running out of time for now, so fork away!. What is a animated digital flip clock? How do you make a animated digital flip clock? This script and codes were developed by Stan Williams on 08 September 2022, Thursday.

Animated Digital Flip Clock Previews

Animated Digital Flip Clock - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated Digital Flip Clock</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <header> <div id="watch"> <div class="watch"> <div class="block hours"> <div class="value"></div> </div> <div class="block minutes"> <div class="value"></div> </div> <div class="block seconds"> <div class="value"></div> </div> </div>
</header>
<h4> &nbsp;Animated Digital Flip Clock</h4>
<script class="watch" src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <script src="js/index.js"></script>
</body>
</html>

Animated Digital Flip Clock - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Baumans);
#watch
{
width:204px;
height:70px;
background:black;
animation:mymove 1s infinite;
-webkit-animation:mymove 1s infinite;
}
@keyframes mymove
{
from {background-color:black;}
to {background-color:blue;}
}
/*Safari and Chrome:*/
@-webkit-keyframes mymove
{
from {background-color:black;}
to {background-color:blue;}
}
html { background: #343434; color: #ffffff; font-family: Impact, Charcoal, sans-serif;
}
* { margin: 0; padding: 0; outline: animatable;
}
header { position: relative; background: #121212; height: 70px; margin: 0 auto;
}
.block { text-align: center;
}
.value { margin: 2px; width: 68px; background: #000000; font-size: 2.9em; font-family: "Hammersmith One"; box-shadow: 0 7px 0 #343434; padding: 1px;
}
.counter { position: relative; margin: 0px auto; }
.hours, .minutes, .seconds { position: absolute;
}
.minutes { left: 65px;
}
.seconds { left: 130px;
}
h1 { color: #010101; font-weight: bold; font-size: 2.0em; font-family: helvetica, sans-serif; text-transform: uppercase; text-align: center; margin-top: 50px;
}

Animated Digital Flip Clock - Script Codes JS Codes

$(document).ready(function() { var padder = function(n) { return (n<10 ? '0': '') + n; }; window.setInterval(function(){ var d = new Date(); $('.hours .value ').html(padder(d.getHours())); $('.minutes .value').html(padder(d.getMinutes())); $('.seconds .value').html(padder(d.getSeconds())); }, 1000);
});
/*
*/
Animated Digital Flip Clock - Script Codes
Animated Digital Flip Clock - Script Codes
Home Page Home
Developer Stan Williams
Username Stanssongs
Uploaded September 08, 2022
Rating 3
Size 2,423 Kb
Views 24,288
Do you need developer help for Animated Digital Flip Clock?

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!

Stan Williams (Stanssongs) 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!