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 |
Shifty the CSS Crab | 3,034 Kb |
Animated Shopping Cart Icons | 7,610 Kb |
CSS Alarm Clock | 3,302 Kb |
Unite Loader | 2,630 Kb |
Spring Into CSS Grid | 2,630 Kb |
Hinged Twitter Button | 3,761 Kb |
Bounce Delay Loader | 2,894 Kb |
Flexbox Tinkering | 1,796 Kb |
Brian The CSS Bee | 3,922 Kb |
Frosted Glass Quote | 2,591 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 |
IE11 Test | Boostnewmedia | 4,998 Kb |
LAMP PURE CSS with Animation | Dam62500 | 2,911 Kb |
Sketchy Box | Mnicpt | 3,033 Kb |
CSS background-size - GSAP | Jonathan | 2,209 Kb |
CSS3 Butterfly | Timohausmann | 3,430 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Calculator | Rzencoder | 4,572 Kb |
Delete Hover | Chungman93 | 2,557 Kb |
TestTube CSS | EZPK | 2,710 Kb |
Wavy Road with Dashes | Jonobr1 | 2,679 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!