Reveals
Wipe Up Reveal
Content wipes into view from the bottom edge.
Opens with this animation loaded. Nothing is uploaded — the scene travels in the link.
.wipe-up {
transform: translate3d(90px, 138px, 0);
-webkit-mask-image: linear-gradient(to top, #000 86%, transparent 100%);
mask-image: linear-gradient(to top, #000 86%, transparent 100%);
width: 300px;
height: 44px;
background: #00000000;
color: #e7e9ee;
font-size: 32px;
font-weight: 700;
animation: wipe-up-anim 800ms linear 0ms infinite both;
will-change: transform, opacity;
}
@keyframes wipe-up-anim {
0% {
-webkit-mask-image: linear-gradient(to top, #000 0%, transparent 0%);
mask-image: linear-gradient(to top, #000 0%, transparent 0%);
animation-timing-function: ease-out;
}
100% {
-webkit-mask-image: linear-gradient(to top, #000 86%, transparent 100%);
mask-image: linear-gradient(to top, #000 86%, transparent 100%);
}
}
@media (prefers-reduced-motion: reduce) {
.wipe-up {
animation: none;
transition: none;
}
}Why it is built this way
A gradient mask, not a moving overlay. Because the element itself is masked, whatever sits behind it shows through — an overlay in the background colour would break the moment the page has a texture or image.
What it animates
1 property across 1 CSS declaration. The bar shows when each one is moving.
mask-imageWhat it costs to run
Mask-image repaints on every frame rather than running on the compositor. There is no reflow, so this is far cheaper than animating width or height — but keep the painted area modest.
It runs for 0.80s across 2 keyframe stops, with every property moving over the same window.
One curve throughout: Ease Out on a text. Keeping a single easing across every property is what makes a multi-property animation read as one movement rather than several things happening at once.
Accessibility
Nothing here hides content — mask-image moves over 0.80s and the element is visible throughout. The exported prefers-reduced-motion guard still silences it, which matters most for the looping ones: motion that never stops is the kind that makes people feel unwell.