Rotational loader
How do I make an rotational loader?
Simple loader using jade, sass and css3 animations. What is a rotational loader? How do you make a rotational loader? This script and codes were developed by Ioannis Pelelis on 03 August 2022, Wednesday.
Rotational loader - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>rotational loader</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<main> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div>
</main> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Rotational loader - Script Codes CSS Codes
body, html { position: relative; width: 100%; height: 100%;
}
body { background: linear-gradient(to bottom, #fd746c, #ff9068);
}
main { width: 10em; height: 0.8em; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.dot, .dot::after { width: 0.8em; height: 0.8em; position: absolute; background: white; border-radius: 100%; top: 0;
}
.dot { animation: goLine 2s infinite ease-in-out;
}
.dot:nth-of-type(1) { animation-delay: 0.25s;
}
.dot:nth-of-type(2) { animation-delay: 0.5s;
}
.dot:nth-of-type(3) { animation-delay: 0.75s;
}
.dot:nth-of-type(4) { animation-delay: 1s;
}
@keyframes rotateCircle { 90% { transform: rotate(360deg); } 100% { transform: rotate(360deg); }
}
@keyframes goLine { 30% { opacity: 1; } 70% { transform: translateX(9.2em); opacity: 0; }
}
![Rotational loader - Script Codes](http://shots.codepen.io/gpelelis/pen/vLeMeZ-512.jpg)
Developer | Ioannis Pelelis |
Username | gpelelis |
Uploaded | August 03, 2022 |
Rating | 3 |
Size | 2,540 Kb |
Views | 62,744 |
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 |
Future Vuatchers | 3,601 Kb |
Reset offset of last paragraph | 2,382 Kb |
Get average color from perimeter of image | 2,156 Kb |
Secret letter | 2,353 Kb |
Simple updating message | 1,596 Kb |
Input validation | 3,189 Kb |
Simple chart with chartist | 6,204 Kb |
Beating heart - only css | 3,212 Kb |
P5js - dancing lines | 1,868 Kb |
Click to edit input | 3,841 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 |
ECharts Version 3.0 - Bar Marker Chart | WebCodePro | 2,726 Kb |
CSS background-size - GSAP | Jonathan | 2,209 Kb |
Loading animation | Codeams | 2,408 Kb |
Highbrow Basic HTML Lesson 8 | Kimlarocca | 2,094 Kb |
Base64 SVG Me | MrBambule | 44,786 Kb |
Mandelbrot Fractal | _Billy_Brown | 2,706 Kb |
Drag and Drop Quiz | Cgspicer | 3,837 Kb |
Awesome | Samarthpd | 2,901 Kb |
Disable JavaScript execution from console | Ludviglindblom | 2,534 Kb |
Animated Donut Chart | Jplhomer | 3,808 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!