SVG SMIL Circular Spinner Animation
How do I make an svg smil circular spinner animation?
Using SMIL to animate svg circular spinner. No CSS or JS.Note: At the time of creating this, no version of IE or Edge supports SMIL. :(. What is a svg smil circular spinner animation? How do you make a svg smil circular spinner animation? This script and codes were developed by Gil on 12 December 2022, Monday.
SVG SMIL Circular Spinner Animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG SMIL Circular Spinner Animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="49.8px" height="49.8px" viewBox="0 0 49.8 49.8" enable-background="new 0 0 49.8 49.8" xml:space="preserve">
<g id="WhiteFullCircle"> <path fill="#CCCCCC" d="M24.9,0C11.2,0,0,11.2,0,24.9c0,13.7,11.2,24.9,24.9,24.9c13.7,0,24.9-11.2,24.9-24.9 C49.8,11.2,38.7,0,24.9,0z M24.9,46.8C12.8,46.8,3,37,3,24.9C3,12.8,12.8,3,24.9,3C37,3,46.8,12.8,46.8,24.9 C46.8,37,37,46.8,24.9,46.8z"/>
</g>
<g id="PinkRotatingPart"> <path fill="#ff3399" d="M3,24.9C3,12.8,12.8,3,24.9,3V0C11.2,0,0,11.2,0,24.9c0,0.5,0,0.9,0,1.4h3C3,25.8,3,25.4,3,24.9z" class="spinner"> <animateTransform attributeName="transform" attributeType="XML" type="rotate" from="0 25 25" to="360 25 25" dur="1.5s" repeatCount="indefinite"/> </path>
</g>
</svg>
</body>
</html>
SVG SMIL Circular Spinner Animation - Script Codes CSS Codes
body { background-color: #eeeeee;
}
Developer | Gil |
Username | gil-- |
Uploaded | December 12, 2022 |
Rating | 3 |
Size | 1,894 Kb |
Views | 12,144 |
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 |
Horizontal Scroll Textarea | 1,197 Kb |
Animated Music Jukebox | 3,793 Kb |
Animated Like Emoji | 3,526 Kb |
Hover circle grow | 2,051 Kb |
A Pen by Gil | 2,590 Kb |
Mobile Gallery Swipe Directions | 3,416 Kb |
CSS Snackables - Week 2 | 8,919 Kb |
Parallax Background | 2,611 Kb |
Pitchfork Link Underline | 1,688 Kb |
HTML5 Input | 5,824 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 |
HTML5 Video Autoplay | Zivcos | 1,352 Kb |
Rows with image hover effect | Amit-webdesigner | 12,875 Kb |
Draggables in pure angular | Rlo206 | 5,167 Kb |
A Pen by Alex Edwards | Exards | 8,218 Kb |
Super Discount | Orrinward | 3,225 Kb |
Octopus Bar iPad App Interactions | Davidkpiano | 6,735 Kb |
JQuery FullScreen Overlay | _codemics | 2,252 Kb |
Degree Picker | Idered | 4,307 Kb |
Hard-Stop Gradients | Mackdoyle | 2,288 Kb |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 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!