Pentagon loading indicator
How do I make an pentagon loading indicator?
Inspired by Bob James (http://codepen.io/mobibob) @see http://codepen.io/0x04/details/dGwBJ. What is a pentagon loading indicator? How do you make a pentagon loading indicator? This script and codes were developed by Oliver Kühn on 15 November 2022, Tuesday.
Pentagon loading indicator - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pentagon loading indicator</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @keyframes fade-border { 0% { border-bottom-color: rgba(0,0,0,0.25); } 50% { border-bottom-color: rgba(0,0,0,1); } 100% { border-bottom-color: rgba(0,0,0,0.25); }
}
.container { top: 50%; left: 50%; margin: 0 -50pt; position: absolute;
}
.triangle { border: 100pt solid transparent; border-bottom-color: rgba(0,0,0,0.25); border-width: 0 50pt 68.819pt 50pt; width: 0; height: 0; position: absolute; transform-origin: 49.5pt 0; animation: fade-border 1s linear infinite;
}
.triangle.no-1 { transform: rotate(0.001deg); /* antialises border */ animation-delay: 0ms;
}
.triangle.no-2 { transform: rotate(72deg); animation-delay: 200ms;
}
.triangle.no-3 { transform: rotate(144deg); animation-delay: 400ms;
}
.triangle.no-4 { transform: rotate(216deg); animation-delay: 600ms;
}
.triangle.no-5 { transform: rotate(288deg); animation-delay: 800ms;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="container"> <div class="triangle no-1"></div> <div class="triangle no-2"></div> <div class="triangle no-3"></div> <div class="triangle no-4"></div> <div class="triangle no-5"></div>
</div> <script src="js/index.js"></script>
</body>
</html>
Pentagon loading indicator - Script Codes CSS Codes
@keyframes fade-border { 0% { border-bottom-color: rgba(0,0,0,0.25); } 50% { border-bottom-color: rgba(0,0,0,1); } 100% { border-bottom-color: rgba(0,0,0,0.25); }
}
.container { top: 50%; left: 50%; margin: 0 -50pt; position: absolute;
}
.triangle { border: 100pt solid transparent; border-bottom-color: rgba(0,0,0,0.25); border-width: 0 50pt 68.819pt 50pt; width: 0; height: 0; position: absolute; transform-origin: 49.5pt 0; animation: fade-border 1s linear infinite;
}
.triangle.no-1 { transform: rotate(0.001deg); /* antialises border */ animation-delay: 0ms;
}
.triangle.no-2 { transform: rotate(72deg); animation-delay: 200ms;
}
.triangle.no-3 { transform: rotate(144deg); animation-delay: 400ms;
}
.triangle.no-4 { transform: rotate(216deg); animation-delay: 600ms;
}
.triangle.no-5 { transform: rotate(288deg); animation-delay: 800ms;
}
Pentagon loading indicator - Script Codes JS Codes
/**
Pentagon loading indicator
--------------------------
Inspired by Bob James (https://codepen.io/mobibob)
@see https://codepen.io/0x04/details/dGwBJ
**/
Developer | Oliver Kühn |
Username | 0x04 |
Uploaded | November 15, 2022 |
Rating | 3 |
Size | 2,371 Kb |
Views | 14,168 |
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 |
Hover rotating cube | 3,166 Kb |
7 Segment Display Characters | 2,717 Kb |
Pure CSS Jalousien | 2,238 Kb |
Background-blend-mode Test | 4,744 Kb |
Max Headroom | 3,784 Kb |
FourPerfectlyRoundCircles | 5,772 Kb |
X4.css Theme System | 10,530 Kb |
Border loading indicators | 3,025 Kb |
Random Paint | 2,444 Kb |
Unicode glitching | 1,632 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 |
Sign Up Form | Sicontis | 5,272 Kb |
Border-radius animation | Yukulele | 2,480 Kb |
Clock Face Idea | Chrisburnell | 3,196 Kb |
Formations | Cantelope | 5,731 Kb |
Playing with transition timing | Mattgrosswork | 1,993 Kb |
Display properties | Hamzaerbay | 1,886 Kb |
Form Labels | Bartuc | 2,717 Kb |
A Pen by Sooba | Sooba | 2,516 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
Bootstrap Carousel Fade Transition | Rowno | 2,484 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!