MOTION / 025

Spiral in

回りながら現れる
小さく回転した形が、拡大しながら正面に収まります。

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

ラボで詳しく試す ↗

ひとつ試すなら

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

こんなときに

ロゴや短い見出しに、はっきりした登場感を添えるとき。

仕組みと使い方

拡大と回転を同じtransform内で組み合わせます。

渦回転登場spiral
実装コードを見る
<div class="demo">good</div>

<style>
.demo {
  display: inline-block; font: 900 64px/1.2 Arial, sans-serif; letter-spacing: -4px;
  color: #30323c;
  animation: spiral-in 1300ms ease-out infinite both;
}

@keyframes spiral-in {
  0% { transform: scale(0.1) rotate(-180deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .demo { animation: none; }
}
</style>