← All elements
<div class="dna" role="status" aria-label="Loading"><i style="--i:0"></i><i style="--i:1"></i><i style="--i:2"></i><i style="--i:3"></i><i style="--i:4"></i><i style="--i:5"></i><i style="--i:6"></i><i style="--i:7"></i></div>About this loader
Pairs of dots that cross over one another in a twisting helix, offset along the row by animation delays.
How it works
Eight columns each hold two dots. One keyframe moves a dot from top to bottom while changing its size and opacity, which suggests depth. The second dot runs half a cycle behind, and every column starts a little earlier than the previous one, so the strands appear to twist.
Ways to customise it
- Change the two dot colours.
- Change the -0.18s step to tighten or loosen the twist.
- Change the 68px travel to make it taller.
Good to know
The status role announces loading. With reduced motion the dots rest in two straight rows.
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.