Rotational loader

Size
2,540 Kb
Views
62,744

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 Previews

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
Rotational loader - Script Codes
Home Page Home
Developer Ioannis Pelelis
Username gpelelis
Uploaded August 03, 2022
Rating 3
Size 2,540 Kb
Views 62,744
Do you need developer help for Rotational loader?

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!

Ioannis Pelelis (gpelelis) Script Codes
Create amazing marketing copy with AI!

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!