cue

Entrances · data-cue="reveal-box"

Reveal box

A block in a brand colour sweeps across the element, the content appears behind it, and the block slides away.

Live, in the personality you've picked

Built to get things fixed.

Markup

html
<h2 data-cue="reveal-box" data-cue-color="accent">…</h2>

Options

AttributeWhat it doesDefault
data-cue-colorA brand role (accent, accent-2, ink, paper) or any CSS colouraccent
data-cue-durationDuration in ms1.6 × the pace's

With motion off

Shown at once, no box. Turn motion off at the top of the page to see it.