Simple CSS Loaders
How do I make an simple css loaders?
CSS powered loading animations. Because animations are cool.. What is a simple css loaders? How do you make a simple css loaders? This script and codes were developed by Jon Christensen on 03 August 2022, Wednesday.
Simple CSS Loaders - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple CSS Loaders</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400'> <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! */ .loader { display: block; margin: 2em auto; padding: 0; position: relative;
}
.li { background: #000; display: inline-block;
}
.loader.simple li { background: #000; display: inline-block; height: 1em; width: 1em; border-radius: 100%; opacity: 0.25; animation: simpleLoad 2s infinite linear;
}
.loader.circles li { background: #000; display: inline-block; height: 1em; width: 1em; border-radius: 100%; animation: circleLoad 2s infinite linear; opacity: 0;
}
.loader.fb li { background: #000; display: inline-block; height: 1em; width: 0.25em; border: 2px solid #666; animation: fbLoad 2s infinite linear; opacity: 0.25;
}
.loader.in-out li { background: #000; display: inline-block; height: 1em; width: 1em; border-radius: 100%; animation: inOutLoad 1.5s infinite linear; position: absolute; margin-left: -0.5em; opacity: 0;
}
.loader li:nth-child(1) { animation-delay: 0.1s;
}
.loader li:nth-child(2) { animation-delay: 0.2s;
}
.loader li:nth-child(3) { animation-delay: 0.3s;
}
.loader li:nth-child(4) { animation-delay: 0.4s;
}
.loader li:nth-child(5) { animation-delay: 0.5s;
}
@keyframes simpleLoad { 0% { opacity: 1; } 100% { opacity: 0; }
}
@keyframes circleLoad { 0% { opacity: 0; transform: scale(0.8); } 10% { opacity: 1; transform: scale(1.25); } 100% { opacity: 0; transform: scale(0); }
}
@keyframes fbLoad { 0% { opacity: 1; transform: scaleY(2); } 50% { transform: scaleY(1); } 100% { opacity: 0.25; }
}
@keyframes inOutLoad { 0% { transform: translateX(-20em) scale(0.1); } 20% { opacity: 0; } 25% { opacity: 1; transform: translateX(-5em); } 50% { transform: scale(1.5); } 75% { opacity: 1; transform: translateX(5em); } 80% { opacity: 0; } 100% { transform: translateX(20em) scale(0.1); }
}
html { width: 100%; height: 100%; background: radial-gradient(circle, #fff 0%, #aaa 100%) no-repeat; overflow-x: hidden; overflow-y: hidden;
}
body { text-align: center; display: table; width: 100%; height: 100%; overflow-x: hidden; overflow-y: hidden; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}
#wrap { box-sizing: border-box; display: table-cell; vertical-align: middle;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div id="wrap">
<ul class="loader simple"> <li></li> <li></li> <li></li> <li></li> <li></li>
</ul>
<ul class="loader circles"> <li></li> <li></li> <li></li> <li></li> <li></li>
</ul>
<ul class="loader fb"> <li></li> <li></li> <li></li> <li></li> <li></li>
</ul> <ul class="loader in-out"> <li></li> <li></li> <li></li> <li></li> <li></li> </ul>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Simple CSS Loaders - Script Codes CSS Codes
.loader { display: block; margin: 2em auto; padding: 0; position: relative;
}
.li { background: #000; display: inline-block;
}
.loader.simple li { background: #000; display: inline-block; height: 1em; width: 1em; border-radius: 100%; opacity: 0.25; animation: simpleLoad 2s infinite linear;
}
.loader.circles li { background: #000; display: inline-block; height: 1em; width: 1em; border-radius: 100%; animation: circleLoad 2s infinite linear; opacity: 0;
}
.loader.fb li { background: #000; display: inline-block; height: 1em; width: 0.25em; border: 2px solid #666; animation: fbLoad 2s infinite linear; opacity: 0.25;
}
.loader.in-out li { background: #000; display: inline-block; height: 1em; width: 1em; border-radius: 100%; animation: inOutLoad 1.5s infinite linear; position: absolute; margin-left: -0.5em; opacity: 0;
}
.loader li:nth-child(1) { animation-delay: 0.1s;
}
.loader li:nth-child(2) { animation-delay: 0.2s;
}
.loader li:nth-child(3) { animation-delay: 0.3s;
}
.loader li:nth-child(4) { animation-delay: 0.4s;
}
.loader li:nth-child(5) { animation-delay: 0.5s;
}
@keyframes simpleLoad { 0% { opacity: 1; } 100% { opacity: 0; }
}
@keyframes circleLoad { 0% { opacity: 0; transform: scale(0.8); } 10% { opacity: 1; transform: scale(1.25); } 100% { opacity: 0; transform: scale(0); }
}
@keyframes fbLoad { 0% { opacity: 1; transform: scaleY(2); } 50% { transform: scaleY(1); } 100% { opacity: 0.25; }
}
@keyframes inOutLoad { 0% { transform: translateX(-20em) scale(0.1); } 20% { opacity: 0; } 25% { opacity: 1; transform: translateX(-5em); } 50% { transform: scale(1.5); } 75% { opacity: 1; transform: translateX(5em); } 80% { opacity: 0; } 100% { transform: translateX(20em) scale(0.1); }
}
html { width: 100%; height: 100%; background: radial-gradient(circle, #fff 0%, #aaa 100%) no-repeat; overflow-x: hidden; overflow-y: hidden;
}
body { text-align: center; display: table; width: 100%; height: 100%; overflow-x: hidden; overflow-y: hidden; font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}
#wrap { box-sizing: border-box; display: table-cell; vertical-align: middle;
}
Developer | Jon Christensen |
Username | JMChristensen |
Uploaded | August 03, 2022 |
Rating | 3 |
Size | 3,841 Kb |
Views | 26,312 |
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 |
Table Cell Slideshow | 2,892 Kb |
Panel Navigation | 4,288 Kb |
Vue JS Filtering | 9,746 Kb |
Image Cover | 3,914 Kb |
Graphs and Snap.svg | 2,870 Kb |
SVG Animated Stroke Dash | 3,623 Kb |
Animated gradient text | 3,791 Kb |
Custom Stagger Start Point | 4,001 Kb |
3D Cube | 2,543 Kb |
SVG Image Blur | 3,893 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 |
This in constructor context | _shree33 | 1,718 Kb |
Flex Table | Simeonoff | 4,059 Kb |
A Pen by Brendan Skousen | Bskousen | 2,954 Kb |
Toggling Divs with jQuery | Yying6 | 1,967 Kb |
Mario | Takaneichinose | 3,902 Kb |
Tile Animation Thing | Frxnz | 4,332 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Pericles mi loro... | Judag | 4,125 Kb |
Fullscreen Parallax | Bassta | 3,313 Kb |
SVG Icons Template | Legofsalmon | 2,618 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!