Rolling Circle
How do I make an rolling circle?
You can hover and click the box to see how it works!. What is a rolling circle? How do you make a rolling circle? This script and codes were developed by Ty Strong on 11 August 2022, Thursday.
Rolling Circle - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Rolling Circle</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <box> <p>Hover and click the box to see how it works!</p> <rotate> <circle></circle> </rotate>
</box>
</body>
</html>
Rolling Circle - Script Codes CSS Codes
body, html { width: 100%; height: 100%; margin: 0; background: #333;
}
box { position: absolute; width: 500px; height: 500px; top: 0; right: 0; bottom: 0; left: 0; margin: auto; -webkit-transition: 400ms; transition: 400ms; -webkit-perspective: 800; perspective: 800; background: #111;
}
rotate { position: absolute; width: 300px; height: 500px; top: 0; right: 0; left: 0; margin: auto; -webkit-animation: rotate 2.5s reverse linear infinite; animation: rotate 2.5s reverse linear infinite;
}
circle { position: absolute; width: 300px; height: 300px; background: white; /** border: solid 150px; border-color: red blue green yellow; **/ background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/42863/Quarter_1.jpg); background-size: cover; border-radius: 50%; -webkit-animation: spin 2.5s linear infinite; animation: spin 2.5s linear infinite;
}
box:hover rotate {-webkit-animation-play-state: paused;animation-play-state: paused;border:solid 1px #f00;}
box:active rotate {-webkit-animation-play-state: running;animation-play-state: running;border:solid 1px #f00;}
@-webkit-keyframes spin { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);}
}
@keyframes spin { 0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);} 100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);}
}
@-webkit-keyframes rotate { 0% {-webkit-transform: rotate(0deg) rotateX(40deg);transform: rotate(0deg) rotateX(40deg);} 100% {-webkit-transform: rotate(360deg) rotateX(40deg);transform: rotate(360deg) rotateX(40deg);}
}
@keyframes rotate { 0% {-webkit-transform: rotate(0deg) rotateX(40deg);transform: rotate(0deg) rotateX(40deg);} 100% {-webkit-transform: rotate(360deg) rotateX(40deg);transform: rotate(360deg) rotateX(40deg);}
}
p { color: white; font-family: helvetica, arial, serif; text-align: center;
}
Developer | Ty Strong |
Username | tystrong |
Uploaded | August 11, 2022 |
Rating | 3.5 |
Size | 1,942 Kb |
Views | 32,384 |
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 |
Beautiful Round Shadow | 3,330 Kb |
8-Bit Mario | 4,477 Kb |
The Greatest. | 1,723 Kb |
RADICAL | 2,222 Kb |
Info on Hover | 3,258 Kb |
CSS Spinner | 2,289 Kb |
Another No Div Spinner | 1,938 Kb |
Added new link buttons. | 5,025 Kb |
Updated Personal Page | 3,682 Kb |
Logo with Slim and SCSS | 3,120 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 |
Disable JavaScript execution from console | Ludviglindblom | 2,534 Kb |
CSS- UI Element States Pseudo-Classes | Tesla809 | 2,206 Kb |
CSS3 Fullscreen Background Slideshow | Leetech | 3,435 Kb |
Filter inputs | Rowinf | 1,721 Kb |
Spiralator 9000 | AdmiralPotato | 4,671 Kb |
Form Labels | Bartuc | 2,717 Kb |
A Pen by lizz | Lizz | 10,068 Kb |
Tab Menus | Zephyr | 3,180 Kb |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
Minimal Material Design Form Input | Koenigsegg1 | 3,076 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!