Appendix C. Transitions and Effects

What Effects Cost

Transitions and effects are made with CSS, using only the kinds of movement browsers can animate smoothly without recalculating the page's layout. Each effect is a separate small style sheet that is added only to pages showing a slider that uses it.

For a slider at the top of a page, keep effects subtle. The first slide is visible before any effect runs, so effects never delay your LCP, but strong movement draws attention away from your message and uses more battery on phones.

Visitors who have asked their device to reduce motion see every transition and effect complete instantly. See the section called “Motion and Accessibility”.

On This Page