Skip to the page

Style

Motion

Motion answers something the visitor did, or shows that Dugout is working.

Every animation in Dugout

Sidebar slides open and closed

250ms. On a desktop it narrows to the rail. On a phone it slides over the page as the shade fades in.

Panel rises open and sinks closed

200ms, rising 6px. The Filter panel.

Tooltip fades up and back down

150ms, rising 4px. A stat's explanation.

Answer rises in

450ms, rising 12px.

The Milwaukee Brewers (MIL) and the Tampa Bay Rays (TB) are in the World Series, and the Brewers lead it 2–0.

Loading dots

A one second beat, each dot 150ms after the last.

Dugout is looking that up.

Ribbons

Live's ribbons follow the voices.

Link underline draws in

250ms on hover or focus.

Chip lifts

150ms, lifting 1px on hover.

Timing tokens

Timing tokens
TokenValueUsed for
--ds-duration-quick150msTooltips and hover lifts.
--ds-duration-pop200msPanels opening and closing.
--ds-duration-slide250msSidebars and drawers.
--ds-duration-link250msA link's underline drawing in.
--ds-duration-reveal450msA new answer appearing.
--ds-duration-pulse1000msOne beat of the loading dots and the loading shapes.
--ds-ease-outcubic-bezier(0.2, 0.7, 0.2, 1)Anything arriving or leaving.
--ds-ease-in-outcubic-bezier(0.4, 0, 0.2, 1)The pulse of the loading dots and the loading shapes.
Rule. Anything that opens animates when it closes too. With reduced motion on, every animation stops and things appear in place.