Web design techniques
Kinetic typography in web design
Kinetic typography is text that moves: words that slide in one after another, letters that change weight, headlines that react as you scroll and banners of text that run across the screen. It started in film titles and motion graphics, and variable fonts and CSS animation have made it easy on the web. Used once, in the right place, it’s memorable. Used everywhere, it makes reading hard.
A live example
These examples are live and use only CSS. The headline plays once, the weight and the running banner loop, and the pause button stops them. Then switch to the common mistake.
Plan your next weekend away
Every letter can change its weight
Done well: the headline animates in once and settles, looping motion is slow and can be paused, and all of it stops for people who prefer reduced motion.
What makes kinetic type work
Words as the image
The type itself is the main visual, with no pictures needed.
font-size: 76pxSequenced motion
Words or letters animate one after another.
animation-delay: calc(var(--i) * 90ms)Variable fonts
Weight, width or slant change smoothly in a single font file.
font-weight: 600 to 800A resting state
The text ends up still and readable.
animation-fill-mode: bothThe CSS
The stagger is one custom property per word. The running banner is the text twice, slid left by half its width, which loops seamlessly. Anything that keeps moving gets a pause control and a reduced-motion rule.
/* Words rise in one after another, then stop */
.headline .word {
display: inline-block;
animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
animation-delay: calc(var(--i) * 90ms); /* set --i on each word */
}
@keyframes rise {
from { opacity: 0; transform: translateY(40%); }
to { opacity: 1; transform: none; }
}
/* A variable font changing weight */
.breathe {
animation: weight 3s ease-in-out infinite alternate;
}
@keyframes weight { to { font-weight: 800; } }
/* A seamless running banner: the text appears twice */
.marquee {
display: flex;
width: max-content;
animation: marquee 40s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
/* A pause button toggles this class */
.is-paused .breathe,
.is-paused .marquee { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
.headline .word, .breathe, .marquee { animation: none; }
}Tuning the values
| Property | A good starting range | What goes wrong outside it |
|---|---|---|
| Entrance length | Up to about 1 second in total | Longer and people wait to read the headline. |
| Stagger between words | 60ms to 120ms | Bigger gaps make the sentence hard to follow as it appears. |
| Looping motion | Slow, and pausable | Fast loops are distracting, and anything moving for more than 5 seconds needs a pause control. |
| Where to use it | One headline per page | Moving type everywhere and nothing stands out. |
When it works
- Hero headlines, launches and campaign pages.
- Portfolios and studios where type is the brand.
- Short, punchy statements of a few words.
When to avoid it
- Body text and anything people need to read closely.
- Navigation, buttons and form labels.
- Audiences who may be sensitive to motion.
Accessibility
Moving type without making people uncomfortable
WCAG has clear rules about motion. Anything that moves, blinks or scrolls automatically for more than five seconds needs a way to pause, stop or hide it, and nothing should flash more than three times a second.
Let headlines settle
Entrance animations that play once and stop don’t need a pause control, as long as they’re short.
Give loops a pause button
Running banners and breathing type that keep moving need a visible control to stop them.
Respect reduced motion
Switch all of it off for people who prefer reduced motion. The text should look complete without it.
Keep the words in the HTML
Splitting words into spans is fine. Make sure the full sentence is still real text that screen readers read in order.
What to check when you review a site with moving type
Kinetic type is all about motion, so the checks are about readability, control and comfort.
.marquee1. A pause control
Check anything that moves for more than 5 seconds can be paused, stopped or hidden.
@media (prefers-reduced-motion)2. Reduced motion
Check all moving type stops for people who prefer reduced motion.
.headline3. Readable at rest
Check headlines end up still and complete, and don’t keep wobbling.
animation4. Flashing
Check nothing flashes more than 3 times a second.
.headline .word5. Screen readers
Check the sentence is read in the right order, and not letter by letter.
p, a, button6. Moving body text and controls
Check paragraphs, links and buttons don’t move.
@media (max-width: 600px)7. Phones
Check large animated headlines fit and don’t cause sideways scrolling on small screens.
@font-face8. Variable font loading
Check the variable font loads quickly and the text is visible before it does.
Reviewing with clients
Notes on exactly which text won’t sit still
Clients who find motion uncomfortable often don’t know what to call it. A note pinned to the moving text tells you exactly which animation to calm down. With ClickNote, clients click directly on elements of the website and leave a note, without creating an account or installing a browser extension.
Send your client a review link for the page.
They click the moving text and say what’s wrong with it.
You get the selector, a screenshot and their device, so you can go straight to the right rule in your CSS.
The moving text at the top makes me feel a bit queasy. Can it stop?
laptop · Chrome on Windows - 1536 x 864
.kt-headlineReviewing a site in one of these styles?
Send your client a review link and they can click directly on elements of the website and leave a note, without creating an account or installing a browser extension. You get the selector, a screenshot and their device with every note.
14-day free trial. No card needed. See pricing.