Simple Dot Loader

Developer
Size
2,272 Kb
Views
6,072

How do I make an simple dot loader?

What is a simple dot loader? How do you make a simple dot loader? This script and codes were developed by Ken Lauguico on 22 December 2022, Thursday.

Simple Dot Loader Previews

Simple Dot Loader - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Dot Loader</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="loader"></div>
</body>
</html>

Simple Dot Loader - Script Codes CSS Codes

/* Setup */
/* Mixins */
/* Loader and Colors */
body,
html { background-color: #5a759a;
}
.loader { display: block; width: 1em; height: 1em; border-radius: 1em; background-color: #fff; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: 1em; height: 1em; -webkit-animation: dim 0.5s 0.5s infinite alternate; -moz-animation: dim 0.5s 0.5s infinite alternate; -o-animation: dim 0.5s 0.5s infinite alternate; animation: dim 0.5s 0.5s infinite alternate;
}
.loader:before { content: ''; position: absolute; display: block; width: 1em; height: 1em; border-radius: 1em; background-color: #fff; right: 1.5em; -webkit-animation: dim 1s infinite alternate; -moz-animation: dim 1s infinite alternate; -o-animation: dim 1s infinite alternate; animation: dim 1s infinite alternate;
}
.loader:after { content: ''; position: absolute; display: block; width: 1em; height: 1em; border-radius: 1em; background-color: #fff; left: 1.5em; -webkit-animation: dim 1s 1s infinite alternate; -moz-animation: dim 1s 1s infinite alternate; -o-animation: dim 1s 1s infinite alternate; animation: dim 1s 1s infinite alternate;
}
/* Keyframes */
@-moz-keyframes dim { from { background-color: #fff; } to { background-color: rgba(255,255,255,0.2); }
}
@-webkit-keyframes dim { from { background-color: #fff; } to { background-color: rgba(255,255,255,0.2); }
}
@-o-keyframes dim { from { background-color: #fff; } to { background-color: rgba(255,255,255,0.2); }
}
@keyframes dim { from { background-color: #fff; } to { background-color: rgba(255,255,255,0.2); }
}
Simple Dot Loader - Script Codes
Simple Dot Loader - Script Codes
Home Page Home
Developer Ken Lauguico
Username kenlauguico
Uploaded December 22, 2022
Rating 3
Size 2,272 Kb
Views 6,072
Do you need developer help for Simple Dot 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!

Ken Lauguico (kenlauguico) Script Codes
Create amazing web 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!