Animated CSS Throbber

Developer
Size
2,665 Kb
Views
24,288

How do I make an animated css throbber?

Displays as "Loading..." on IE9 or below. What is a animated css throbber? How do you make a animated css throbber? This script and codes were developed by John W. Long on 24 September 2022, Saturday.

Animated CSS Throbber Previews

Animated CSS Throbber - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated CSS Throbber</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="throbber"> Loading&#8230;
</div>
</body>
</html>

Animated CSS Throbber - Script Codes CSS Codes

@-webkit-keyframes throbber { 0% { background: #dde2e7; } 10% { background: #6b9dc8; } 40% { background: #dde2e7; }
}
@-moz-keyframes throbber { 0% { background: #dde2e7; } 10% { background: #6b9dc8; } 40% { background: #dde2e7; }
}
@-o-keyframes throbber { 0% { background: #dde2e7; } 10% { background: #6b9dc8; } 40% { background: #dde2e7; }
}
@keyframes throbber { 0% { background: #dde2e7; } 10% { background: #6b9dc8; } 40% { background: #dde2e7; }
}
body { background-color: #f0f3f7; padding: 50px; text-align: center;
}
/* Styles for old versions of IE */
.throbber { font-family: sans-serif; font-weight: 100;
}
/* :not(:required) hides these rules from IE9 and below */
.throbber:not(:required) { -webkit-animation: throbber 2000ms 300ms infinite ease-out; -khtml-animation: throbber 2000ms 300ms infinite ease-out; -moz-animation: throbber 2000ms 300ms infinite ease-out; -ms-animation: throbber 2000ms 300ms infinite ease-out; -o-animation: throbber 2000ms 300ms infinite ease-out; animation: throbber 2000ms 300ms infinite ease-out; background: #dde2e7; display: inline-block; position: relative; text-indent: -9999px; width: 0.9em; height: 1.5em; margin: 0 1.6em;
}
.throbber:not(:required):before, .throbber:not(:required):after { background: #dde2e7; content: '\x200B'; display: inline-block; width: 0.9em; height: 1.5em; position: absolute; top: 0;
}
.throbber:not(:required):before { -webkit-animation: throbber 2000ms 150ms infinite ease-out; -khtml-animation: throbber 2000ms 150ms infinite ease-out; -moz-animation: throbber 2000ms 150ms infinite ease-out; -ms-animation: throbber 2000ms 150ms infinite ease-out; -o-animation: throbber 2000ms 150ms infinite ease-out; animation: throbber 2000ms 150ms infinite ease-out; left: -1.6em;
}
.throbber:not(:required):after { -webkit-animation: throbber 2000ms 450ms infinite ease-out; -khtml-animation: throbber 2000ms 450ms infinite ease-out; -moz-animation: throbber 2000ms 450ms infinite ease-out; -ms-animation: throbber 2000ms 450ms infinite ease-out; -o-animation: throbber 2000ms 450ms infinite ease-out; animation: throbber 2000ms 450ms infinite ease-out; right: -1.6em;
}
Animated CSS Throbber - Script Codes
Animated CSS Throbber - Script Codes
Home Page Home
Developer John W. Long
Username jlong
Uploaded September 24, 2022
Rating 3
Size 2,665 Kb
Views 24,288
Do you need developer help for Animated CSS Throbber?

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!

John W. Long (jlong) Script Codes
Create amazing video scripts 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!