Solar Eclipse Loader
How do I make an solar eclipse loader?
Re-creation of this Dribbble shot by Paulius Kairevicius <3. What is a solar eclipse loader? How do you make a solar eclipse loader? This script and codes were developed by Joni Trythall on 02 October 2022, Sunday.
Solar Eclipse Loader - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Solar Eclipse Loader</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="sky"> <div class="moon"></div> <div class="shadow"></div> <svg class="outline"> <circle cx="50" cy="50" r="40" stroke="#FFAE00" stroke-width="3" fill="transparent" stroke-dasharray="255" stroke-dashoffset="255" stroke-linecap="round"></circle> </svg>
</div> <script src="js/index.js"></script>
</body>
</html>
Solar Eclipse Loader - Script Codes CSS Codes
body { -webkit-animation: sky-change 8s infinite linear; animation: sky-change 8s infinite linear;
}
.sky { position: relative; margin: 70px auto; width: 80px;
}
.moon { border-radius: 50%; background: #FFAE00; border: 1px solid #FFAE00; box-shadow: 0 0 4px #FFAE00; width: 80px; height: 80px;
}
.shadow { position: absolute; top: 1px; left: 91px; background: white; border-radius: 50%; width: 80px; height: 80px; -webkit-animation: shift 8s infinite linear; animation: shift 8s infinite linear;
}
.outline { position: absolute; top: -10px; left: -10px;
}
circle { -webkit-animation: draw 8s infinite ease-in-out; animation: draw 8s infinite ease-in-out; -webkit-transform-origin: center; transform-origin: center; -webkit-transform: rotate(-90deg) rotateX(-180deg); transform: rotate(-90deg) rotateX(-180deg);
}
@-webkit-keyframes sky-change { 50% { background: black; }
}
@keyframes sky-change { 50% { background: black; }
}
@-webkit-keyframes shift { 40% { -webkit-transform: translateX(-90px); transform: translateX(-90px); } 50% { -webkit-transform: translateX(-90px); transform: translateX(-90px); background: black; } 60% { -webkit-transform: translateX(-90px); transform: translateX(-90px); } 100% { -webkit-transform: translateX(-180px); transform: translateX(-180px); }
}
@keyframes shift { 40% { -webkit-transform: translateX(-90px); transform: translateX(-90px); } 50% { -webkit-transform: translateX(-90px); transform: translateX(-90px); background: black; } 60% { -webkit-transform: translateX(-90px); transform: translateX(-90px); } 100% { -webkit-transform: translateX(-180px); transform: translateX(-180px); }
}
@-webkit-keyframes draw { 10% { stroke-dashoffset: 255px; } 40% { stroke-dashoffset: 255px; } 50% { stroke-dashoffset: 0; } 60% { stroke-dashoffset: -255px; } 100% { stroke-dashoffset: -255px; }
}
@keyframes draw { 10% { stroke-dashoffset: 255px; } 40% { stroke-dashoffset: 255px; } 50% { stroke-dashoffset: 0; } 60% { stroke-dashoffset: -255px; } 100% { stroke-dashoffset: -255px; }
}
Solar Eclipse Loader - Script Codes JS Codes
/*
Re-creation of this Dribbble shot by Paulius Kairevicius:
https://dribbble.com/shots/1982200-Solar-Eclipse
*/
Developer | Joni Trythall |
Username | jonitrythall |
Uploaded | October 02, 2022 |
Rating | 4.5 |
Size | 3,012 Kb |
Views | 18,216 |
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 |
Blurred Gear Loader | 3,783 Kb |
SVG Loaders | 3,649 Kb |
Flexbox Tinkering | 1,796 Kb |
CSS Pencil Scoop Logo | 2,304 Kb |
Hinged Twitter Button | 3,761 Kb |
Nested Noodle Loader | 2,683 Kb |
CSS Alarm Clock | 3,302 Kb |
Unite Loader | 2,630 Kb |
Weird Circle Loader | 2,792 Kb |
Brian The CSS Bee | 3,922 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 |
Wrap_Test | Mscfourn | 7,503 Kb |
Right Click Menu | Anodpixels | 2,252 Kb |
CSS3 Form Page Design | Rssatnam | 3,613 Kb |
Formations | Cantelope | 5,731 Kb |
Particle Motion trajectories | Sniejadlik | 5,899 Kb |
Opening Reveal Modal On Document Ready | Winghouchan | 1,787 Kb |
Custom Select Element | Agrayson | 3,616 Kb |
Lightrays v2 | Sinthetyc | 2,903 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
Improve | Gavra | 1,652 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!