Slide-Up RevealAnimation

Text rises into view from behind a mask — clean cinematic reveal for headings.

HTML
CSS
Live Preview
Tip: Edit the HTML or CSS on the left to instantly see changes in the preview.

Use slide-up reveal with a clear purpose

A mask reveal progressively exposes text or artwork. The fully revealed state must still be available when motion is disabled. Check long text and the container’s dimensions so the masking area does not cut off the final content.

Understand the example

The original example uses animation: reveal-rise 3s cubic-bezier(0.16, 1, 0.3, 1) infinite. The animation declaration connects an element to a named keyframe sequence and defines its timing. Copy both the element rule and the matching keyframes when trying the effect in another page.

Change one value at a time in the editor above: first duration, then easing, then the distance or scale in a keyframe. Compare the resting position with the most extreme frame. Keep the smallest effect that explains your intended change.

Before you publish

Provide a reduced-motion alternative and leave important content visible when motion is removed. For a loading state, stop the effect on success or failure and keep a written status. For an entrance or exit, implement the actual application state and focus behavior separately.

The preview is isolated from the rest of this page, and you can pause it while inspecting the code. Test the final result in your own layout. Read the CSS animation reference or build a custom keyframe sequence.