Loader a Day (day 28)

Developer
Size
3,069 Kb
Views
6,072

How do I make an loader a day (day 28)?

We've got a pulse!Fairly simple one today, but I like the trailing effect!. What is a loader a day (day 28)? How do you make a loader a day (day 28)? This script and codes were developed by Reinier Kaper on 21 January 2023, Saturday.

Loader a Day (day 28) Previews

Loader a Day (day 28) - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Loader a Day (day 28)</title> <script src="https://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"> <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! */ /** * Document defaults */
body { text-align: center; background-color: #eee; counter-reset: count;
}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
/* The loader */
.loader { position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin-top: -100px; margin-left: -100px; perspective: 500px; transform-style: perserve-3d; animation: loader 2s cubic-bezier(0,0,1,1) infinite;
}
/* The dot */
.dot { position: absolute; top: 50%; left: 50%; z-index: 10; width: 10px; height: 10px; margin-top: 20px; margin-left: -5px; border-radius: 100%; color: #fff; background: linear-gradient(to left, #1e3f57, #304e64); box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.5); transform-style: perserve-3d; animation: dot 2s cubic-bezier(0,0,1,1) infinite;
}
.dot:nth-child(2) { animation-delay: 15ms; background: linear-gradient(to left, #1e3f57, #304e64); z-index: 9; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.45); }
.dot:nth-child(3) { animation-delay: 30ms; background: linear-gradient(to left, #304e64, #486376); z-index: 8; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.4); }
.dot:nth-child(4) { animation-delay: 45ms; background: linear-gradient(to left, #486376, #657b8a); z-index: 7; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.35); }
.dot:nth-child(5) { animation-delay: 60ms; background: linear-gradient(to left, #657b8a, #8696a2); z-index: 6; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.3); }
.dot:nth-child(6) { animation-delay: 75ms; background: linear-gradient(to left, #8696a2, #a6b1ba); z-index: 5; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.25); }
.dot:nth-child(7) { animation-delay: 90ms; background: linear-gradient(to left, #a6b1ba, #c4cacf); z-index: 4; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.2); }
.dot:nth-child(8) { animation-delay: 105ms; background: linear-gradient(to left, #c4cacf, #dcdfe1); z-index: 3; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.15); }
.dot:nth-child(9) { animation-delay: 120ms; background: linear-gradient(to left, #dcdfe1, #eeeeee); z-index: 2; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.1); }
@keyframes dot { 0% { transform: translateX(-100px) translateY(0); } 20% { transform: translateX(-60px) translateY(0); } 25% { transform: translateX(-50px) translateY(-10px); } 30% { transform: translateX(-40px) translateY(5px); } 35% { transform: translateX(-30px) translateY(-100px); } 45% { transform: translateX(-10px) translateY(50px); } 50% { transform: translateX(0px) translateY(0px); } 55% { transform: translateX(10px) translateY(10px); } 65% { transform: translateX(30px) translateY(-40px); } 70% { transform: translateX(40px) translateY(0px); } 80% { transform: translateX(60px) translateY(0px); } 100% { transform: translateX(100px) translateY(0px); }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="loader"> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Loader a Day (day 28) - Script Codes CSS Codes

/** * Document defaults */
body { text-align: center; background-color: #eee; counter-reset: count;
}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
/* The loader */
.loader { position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin-top: -100px; margin-left: -100px; perspective: 500px; transform-style: perserve-3d; animation: loader 2s cubic-bezier(0,0,1,1) infinite;
}
/* The dot */
.dot { position: absolute; top: 50%; left: 50%; z-index: 10; width: 10px; height: 10px; margin-top: 20px; margin-left: -5px; border-radius: 100%; color: #fff; background: linear-gradient(to left, #1e3f57, #304e64); box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.5); transform-style: perserve-3d; animation: dot 2s cubic-bezier(0,0,1,1) infinite;
}
.dot:nth-child(2) { animation-delay: 15ms; background: linear-gradient(to left, #1e3f57, #304e64); z-index: 9; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.45); }
.dot:nth-child(3) { animation-delay: 30ms; background: linear-gradient(to left, #304e64, #486376); z-index: 8; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.4); }
.dot:nth-child(4) { animation-delay: 45ms; background: linear-gradient(to left, #486376, #657b8a); z-index: 7; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.35); }
.dot:nth-child(5) { animation-delay: 60ms; background: linear-gradient(to left, #657b8a, #8696a2); z-index: 6; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.3); }
.dot:nth-child(6) { animation-delay: 75ms; background: linear-gradient(to left, #8696a2, #a6b1ba); z-index: 5; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.25); }
.dot:nth-child(7) { animation-delay: 90ms; background: linear-gradient(to left, #a6b1ba, #c4cacf); z-index: 4; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.2); }
.dot:nth-child(8) { animation-delay: 105ms; background: linear-gradient(to left, #c4cacf, #dcdfe1); z-index: 3; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.15); }
.dot:nth-child(9) { animation-delay: 120ms; background: linear-gradient(to left, #dcdfe1, #eeeeee); z-index: 2; box-shadow: 0 0 5px 0 rgba(30, 63, 87, 0.1); }
@keyframes dot { 0% { transform: translateX(-100px) translateY(0); } 20% { transform: translateX(-60px) translateY(0); } 25% { transform: translateX(-50px) translateY(-10px); } 30% { transform: translateX(-40px) translateY(5px); } 35% { transform: translateX(-30px) translateY(-100px); } 45% { transform: translateX(-10px) translateY(50px); } 50% { transform: translateX(0px) translateY(0px); } 55% { transform: translateX(10px) translateY(10px); } 65% { transform: translateX(30px) translateY(-40px); } 70% { transform: translateX(40px) translateY(0px); } 80% { transform: translateX(60px) translateY(0px); } 100% { transform: translateX(100px) translateY(0px); }
}
Loader a Day (day 28) - Script Codes
Loader a Day (day 28) - Script Codes
Home Page Home
Developer Reinier Kaper
Username TheDutchCoder
Uploaded January 21, 2023
Rating 3
Size 3,069 Kb
Views 6,072
Do you need developer help for Loader a Day (day 28)?

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!

Reinier Kaper (TheDutchCoder) Script Codes
Create amazing SEO content 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!