SVG Clock

Developer
Size
2,163 Kb
Views
26,312

How do I make an svg clock?

What is a svg clock? How do you make a svg clock? This script and codes were developed by Nick Nikolov on 17 October 2022, Monday.

SVG Clock Previews

SVG Clock - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG Clock</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ #hand1,#hand2,#hand3,#hand4,#hand5{	stroke-linecap:round;	stroke-linejoin:round;	stroke-width:10;	-webkit-transform-origin: 0% 100%;	fill:none;	stroke:#000000;	}	#hand1{	stroke:#ff0000;	stroke-width:4;	-webkit-animation:rotate 60s linear infinite;	}	#hand2{	-webkit-animation:rotate 3600s linear infinite;	}	#hand3{	-webkit-animation:rotate 43200s linear infinite;	}	#hand4{	stroke:#ff0000;	stroke-width:4;	-webkit-animation:rotate 1s ease-in-out infinite;	}	@-webkit-keyframes rotate {	100% {	-webkit-transform: rotate(360deg);	}	} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" preserveAspectRatio="xMinYMin meet" height="400" width="400" viewBox="0 0 400 400" id="svg2">	<defs>	</defs> <circle cx="200" cy="200" r="190" fill="white" stroke="#ddd" stroke-width="2" /> <path d="M 200,200 200,40" id="hand2"/> <path d="M 200,200 200,80" id="hand3"/> <circle cx="200" cy="200" r="16" fill="black" stroke="black" stroke-width="4" /> <path d="M 200,200 200,184" id="hand4"/> <path d="M 200,200 200,20" id="hand1"/> <circle cx="200" cy="200" r="10" fill="red" stroke-width="4" />
</svg>
</body>
</html>

SVG Clock - Script Codes CSS Codes

#hand1,#hand2,#hand3,#hand4,#hand5{	stroke-linecap:round;	stroke-linejoin:round;	stroke-width:10;	-webkit-transform-origin: 0% 100%;	fill:none;	stroke:#000000;	}	#hand1{	stroke:#ff0000;	stroke-width:4;	-webkit-animation:rotate 60s linear infinite;	}	#hand2{	-webkit-animation:rotate 3600s linear infinite;	}	#hand3{	-webkit-animation:rotate 43200s linear infinite;	}	#hand4{	stroke:#ff0000;	stroke-width:4;	-webkit-animation:rotate 1s ease-in-out infinite;	}	@-webkit-keyframes rotate {	100% {	-webkit-transform: rotate(360deg);	}	}
SVG Clock - Script Codes
SVG Clock - Script Codes
Home Page Home
Developer Nick Nikolov
Username necks
Uploaded October 17, 2022
Rating 3
Size 2,163 Kb
Views 26,312
Do you need developer help for SVG 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!

Nick Nikolov (necks) Script Codes
Create amazing SEO content 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!