EASING / 128

Quart out

素早く移動し、長く減速
初めに大きく距離を進み、終わりをゆっくり仕上げます。

実際のHTML・CSSで描かれた見本です。

ラボで詳しく試す ↗

ひとつ試すなら

どこが変わるかを観察して、似た表現と見比べてみよう。

こんなときに

すぐに操作へ応えつつ、到着を滑らかに見せたいとき。

仕組みと使い方

名称は曲線の系統を示します。この見本は同名の数式そのものではなく、3次ベジェ曲線による近似です。

イージング速度加速減速4乗クォートquartic
実装コードを見る
<div class="demo"></div>

<style>
.demo {
  width: 85px; height: 85px; border-radius: 50%;
  color: #30323c;
  background: #30323c;
  animation: easing-quart-out 1800ms cubic-bezier(0.25, 1, 0.5, 1) infinite both;
}

@keyframes easing-quart-out {
  0% { transform: translateX(-80px); }
  100% { transform: translateX(80px); }
}
@media (prefers-reduced-motion: reduce) {
  .demo { animation: none; }
}
</style>