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.
Built to get things fixed.
Markup
<h2 data-cue="reveal-box" data-cue-color="accent">…</h2>
Options
| Attribute | What it does | Default |
|---|---|---|
data-cue-color | A brand role (accent, accent-2, ink, paper) or any CSS colour | accent |
data-cue-duration | Duration in ms | 1.6 × the pace's |
With motion off
Shown at once, no box. Turn motion off at the top of the page to see it.