One div gear
How do I make an one div gear?
Cross browsers (bug for dotted borders in Firefox ;( ). What is a one div gear? How do you make a one div gear? This script and codes were developed by Damien Pereira Morberto on 14 December 2022, Wednesday.
One div gear - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>One div gear</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="gear">
</div>
</body>
</html>
One div gear - Script Codes CSS Codes
body { padding:0; margin:0; background-color:#c76026;
}
#gear { width:100px; height:100px; overflow:hidden; position:absolute; left:50%; top:50%; margin: -50px; border-radius:50%; opacity:0; -webkit-animation: init 1s forwards, gear 1.5s forwards infinite; -moz-animation: init 1s forwards, gear 1.5s forwards infinite; -ms-animation: init 1s forwards, gear 1.5s forwards infinite; -o-animation: init 1s forwards, gear 1.5s forwards infinite; animation: init 1s forwards, gear 1.5s forwards infinite;
}
#gear:before { content:''; position:absolute; width:70px; height:70px; background:#eaeaea; border-radius:50%; border:20px dotted #c76026; top:-5px; left:-5px;
}
#gear:after { content:''; position:absolute; background:transparent; border:20px solid #c76026; width: 100px; height:100px; border-radius:50%; left:-20px; top:-20px;
}
@-webkit-keyframes init { 0% { -webkit-transform:scale(0); opacity:0; } 100% { -webkit-transform:scale(1); opacity:1; }
}
@-moz-keyframes init { 0% { -moz-transform:scale(0); opacity:0; } 100% { -moz-transform:scale(1); opacity:1; }
}
@-ms-keyframes init { 0% { -ms-transform:scale(0); opacity:0; } 100% { -ms-transform:scale(1); opacity:1; }
}
@-o-keyframes init { 0% { -o-transform:scale(0); opacity:0; } 100% { -o-transform:scale(1); opacity:1; }
}
@keyframes init { 0% { transform:scale(0); opacity:0; } 100% { transform:scale(1); opacity:1; }
}
@-webkit-keyframes gear { 0% { -webkit-transform:rotate(0deg); } 100% { -webkit-transform:rotate(360deg); }
}
@-moz-keyframes gear { 0% { -moz-transform:rotate(0deg); } 100% { -moz-transform:rotate(360deg); }
}
@-ms-keyframes gear { 0% { -ms-transform:rotate(0deg); } 100% { -ms-transform:rotate(360deg); }
}
@-o-keyframes gear { 0% { -o-transform:rotate(0deg); } 100% { -o-transform:rotate(360deg); }
}
@keyframes gear { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); }
}
Developer | Damien Pereira Morberto |
Username | damienpm |
Uploaded | December 14, 2022 |
Rating | 3 |
Size | 1,809 Kb |
Views | 16,192 |
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 |
Xaoweb Logo | 2,010 Kb |
A Pen by Damien Pereira Morberto | 1,928 Kb |
Flat design iframe | 1,819 Kb |
Flat design camera with CSS animation | 2,913 Kb |
Captain America CSS | 1,893 Kb |
Traveler CSS | 2,909 Kb |
Batman CSS | 2,095 Kb |
Flat design color chart | 2,074 Kb |
Custom checkboxes | 1,698 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 |
Animated bar chart | CreativePunch | 3,124 Kb |
Resizable SASS Icons | Marianarlt | 7,611 Kb |
Fellowship of the Ring | Aussieyang | 2,639 Kb |
SlideDown FixedMenu | Mp_graphic | 5,602 Kb |
JavaScript constructors | Simboonlong | 2,415 Kb |
My Interests | Anshusaxenaarora | 2,015 Kb |
Simple Carousel Pure CSS | Dangvanthanh | 4,080 Kb |
SVG Text Masking | JMChristensen | 2,141 Kb |
FCC Portfolio | Cmwebby | 4,304 Kb |
GLSL Hills | Ykob | 6,991 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!