Effects

Wave Animation

Tilts and rises in a slow, continuous swell.

Motion that ships
Edit this in the studio

Opens with this animation loaded. Nothing is uploaded — the scene travels in the link.

animation.css
.wave {
  transform: translate3d(90px, 138px, 0);
  width: 300px;
  height: 44px;
  background: #00000000;
  color: #e7e9ee;
  font-size: 32px;
  font-weight: 700;
  animation: wave-anim 1800ms linear 0ms infinite both;
  will-change: transform, opacity;
}

@keyframes wave-anim {
  0% {
    transform: translate3d(90px, 138px, 0);
    animation-timing-function: ease-in-out;
  }
  25% {
    transform: translate3d(90px, 133px, 0) rotate(8deg);
    animation-timing-function: ease-in-out;
  }
  50% {
    transform: translate3d(90px, 128px, 0);
    animation-timing-function: ease-in-out;
  }
  75% {
    transform: translate3d(90px, 133px, 0) rotate(-8deg);
    animation-timing-function: ease-in-out;
  }
  100% {
    transform: translate3d(90px, 138px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave {
    animation: none;
    transition: none;
  }
}

Why it is built this way

Rotation and vertical travel on slightly different rhythms, which is what keeps a loop from looking mechanical. Two properties on the same timing would read as a single rigid movement.

What it animates

2 properties across 1 CSS declaration. The bar shows when each one is moving.

Rotate
transform
0 0
4 stopscompositor
Y
transform
0 0px
3 stopscompositor

What it costs to run

Rotate and y is handled by the compositor: no layout, no repaint, and the work can run off the main thread. This is the cheap end of CSS animation, which is why it stays smooth on a slow phone where other properties will not.

It runs for 1.80s across 7 keyframe stops, with every property moving over the same window.

One curve throughout: Ease In 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 — rotate and y move over 1.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.

Related animations

wavefloatlooporganic