OnomaUI

にこにこ の動き

「ずっと笑顔」を表す動きです。

nikoniko1種類公式

見本

ずっと笑顔

機嫌のいいキャラ

10%の高さで弾み、着くたびに8%つぶれるのをくり返す。

時間
1s
くり返し
する
速さの変化
ease-in-out
動かすもの
位置・大きさ translate scale
CSS を見る
@keyframes onoma-nikoniko {
  0% { transform: translate(0%, 0%) scale(1.08, 0.92); animation-timing-function: cubic-bezier(.3,.7,.5,1); }
  50% { transform: translate(0%, -10%) scale(0.97, 1.03); animation-timing-function: cubic-bezier(.5,0,.7,.3); }
  100% { transform: translate(0%, 0%) scale(1.08, 0.92); }
}

.onoma-nikoniko {
  animation: onoma-nikoniko 1s ease-in-out infinite both;
  transform-origin: 50% 100%;
}

/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
  .onoma-nikoniko { animation: none; }
}

近い動きと見比べる