Push / slide

푸시·슬라이드

The incoming shot moves in and pushes the outgoing shot away.

Also known as: Push transitionSlide transition
···
html
<div class="frame">
  <div class="shot old"><i class="sun"></i><i class="hill"></i><b>01</b></div>
  <div class="shot next"><i class="moon"></i><i class="hill"></i><b>02</b></div>
  <div class="arrow">PUSH <span>→</span></div>
</div>
css
.frame{position:absolute;inset:0;overflow:hidden;background:var(--bg)}
.shot{position:absolute;inset:0;overflow:hidden}
.old{background:linear-gradient(135deg,#f0d394,var(--accent-3));animation:old 3.6s ease-in-out infinite}
.next{background:linear-gradient(135deg,var(--accent-2),#182839);transform:translateX(100%);animation:next 3.6s ease-in-out infinite}
.sun,.moon{position:absolute;left:18%;top:19%;width:clamp(38px,20vmin,110px);aspect-ratio:1;border-radius:50%;background:#fff1b1}
.moon{left:auto;right:18%;background:var(--surface)}
.hill{position:absolute;left:-12%;right:-12%;bottom:-22%;height:60%;border-radius:50% 50% 0 0;background:var(--fg);opacity:.7;transform:rotate(-7deg)}
.next .hill{background:#101923;transform:rotate(7deg)}
.shot b{position:absolute;left:7%;bottom:9%;font:700 clamp(18px,5vmin,32px) ui-monospace,monospace;color:var(--surface)}
.arrow{position:absolute;right:5%;top:6%;padding:5px 8px;background:var(--surface);color:var(--fg);font:700 clamp(8px,2.2vmin,12px) ui-monospace,monospace;letter-spacing:.08em}
.arrow span{color:var(--accent)}
@keyframes old{0%,32%{transform:translateX(0)}62%,100%{transform:translateX(-100%)}}
@keyframes next{0%,32%{transform:translateX(100%)}62%,100%{transform:translateX(0)}}

It is like sliding one sheet across a desk until it pushes the old one off the edge. For a moment, the two shots sit side by side.

Place the new clip just outside the frame and keyframe its position into view. Move the outgoing clip the same distance in the opposite direction so both shots travel together.

Unlike a dissolve, motion does the work; the images do not blend. Match the direction to the scene's gaze or next action, and avoid an unnecessarily fast shove.

When to use

Use it to change layouts or locations with a clear, brisk rhythm. Repeating one direction can make a sequence feel consistent.

Open as page ↗

Suggest an entry

Tell us about a film term or effect that’s missing. We review each suggestion.