← All elements
<div class="pc-chat">
<p class="pc-chat__msg">Is my order on its way?</p>
<div class="pc-typing" role="status" aria-label="Support is typing">
<span></span>
<span></span>
<span></span>
</div>
</div>About this loader
A chat typing indicator with three dots that bounce in sequence inside a speech bubble.
How it works
The bubble is an inline flex box with three round dots. One keyframe moves each dot up by five pixels and raises its opacity, and the second and third dots start 0.15 and 0.3 seconds later, so the bounce travels along the row like a wave. A speech tail comes from one smaller border radius corner.
Ways to customise it
- Change #e1e4f2 and #70738a for a dark theme.
- Change the 1.2s duration for a faster rhythm.
- Raise the -5px value so the dots bounce higher.
Good to know
The role=status and aria-label announce that support is typing. Stop the animation when the message arrives, and add a prefers-reduced-motion rule that fades the dots without moving them.
Open an example, copy the HTML and the CSS, and paste them into your page. There is nothing to install and no JavaScript to load.