Bouncing dots in HTML and CSS
Three dots bouncing one after another, for a short wait or a message being typed.
Here is an excerpt of this component's code in HTML and CSS. The full code is free for members, ready to copy into your project.
This component also comes in
The code in HTML and CSS
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Points rebondissants</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="demo">
<div class="dots" role="status">
<span class="dots__row" aria-hidden="true"><span></span><span></span><span></span></span>:root {
--dots-bg: #ede9fe;
--dots-dot: #6d28d9;
--dots-text: #3b2a73;
--demo-bg: #faf8ff;
--demo-text: #1e1145;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--dots-bg: #1e1240;
--dots-dot: #c4b5fd;Free component: copy it freely, including for commercial projects.
Other loaders components in HTML and CSS
Loaders components in HTML and CSS
A button's state while a form is submitting: a small spinner and a "Sending" label.
- Tailwind
- React
- CSS
- WordPress

A thin bar where a segment slides continuously, for a load of unknown duration.
- Tailwind
- React
- CSS
- WordPress

A spinning ring with a colored segment, alongside a loading text.
- Tailwind
- React
- CSS
- WordPress