Spinning Submit Button
How do I make an spinning submit button?
Press the button to activate the animation.. What is a spinning submit button? How do you make a spinning submit button? This script and codes were developed by Ty Strong on 11 August 2022, Thursday.
Spinning Submit Button - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Spinning Submit Button</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! */ body { background: #f8a;
}
input[type="submit"] { font-family: Verdana,"Rockwell",Helvetica,Serif; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto auto; font-size: 20px; width: 120px; height: 120px; background: #fff; padding: 10px; border: 0; outline: 0; border-radius: 50%; color: #171717; transition: all 200ms;
}
input[type="submit"]:focus { background: transparent; color: transparent; border: none; transform: translateZ(0); border-top: solid 3px #f8a; border-left: solid 3px #fff; animation: spin 700ms linear infinite;
}
@keyframes spin {100% {transform: rotate(360deg);}} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <input type="submit"/>
</body>
</html>
Spinning Submit Button - Script Codes CSS Codes
body { background: #f8a;
}
input[type="submit"] { font-family: Verdana,"Rockwell",Helvetica,Serif; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto auto; font-size: 20px; width: 120px; height: 120px; background: #fff; padding: 10px; border: 0; outline: 0; border-radius: 50%; color: #171717; transition: all 200ms;
}
input[type="submit"]:focus { background: transparent; color: transparent; border: none; transform: translateZ(0); border-top: solid 3px #f8a; border-left: solid 3px #fff; animation: spin 700ms linear infinite;
}
@keyframes spin {100% {transform: rotate(360deg);}}
Developer | Ty Strong |
Username | tystrong |
Uploaded | August 11, 2022 |
Rating | 4 |
Size | 2,142 Kb |
Views | 70,840 |
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 |
CSS Laptop | 2,987 Kb |
New Personal Page | 3,510 Kb |
Info on Hover | 3,258 Kb |
Updated Personal Page | 3,682 Kb |
The Greatest. | 1,723 Kb |
Beautiful Round Shadow | 3,330 Kb |
Colors and Media Queries | 2,952 Kb |
Logo with Slim and SCSS | 3,120 Kb |
Logo Cubes in Slim and SCSS | 2,661 Kb |
Another No Div Spinner | 1,938 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 |
GrcJS | Vino6 | 2,047 Kb |
Pure CSS albums gallery | Renaudtertrais | 2,978 Kb |
Right Click Menu | Anodpixels | 2,252 Kb |
CSS Grid Test | Ajaykarwal | 2,377 Kb |
Portfolio Layout Flex | Lahvjal | 3,489 Kb |
Mobile first social buttons with no iframe | Alistairtweedie | 3,158 Kb |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Simple animated hover effect | Pobee-norris | 3,044 Kb |
-2 base | Kozanecki_p | 1,641 Kb |
Flip test | Madhes | 1,635 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!