HTML & CSS クイズ: Transitions & Animations

This CSS quiz covers transition, @keyframes and the animation properties. You will decide what animates, what jumps, how long things take and which properties are cheap for the browser to animate.

ふつう 10問 約6分 合格ライン 80%

モードを選ぶ

ゲストとしてプレイ中です。ログインすると XP と連続記録が保存されます。

例題

第1問 / 全10問

In this declaration, what does 1s mean?

.btn { transition: background-color 0.3s ease 1s; }
答えを見る

B. The color change waits 1 second before it starts In the transition shorthand the first time value is the duration and the second is the delay. So the change starts after 1 second and then takes 0.3 seconds.

このクイズの内容

  • The transition shorthand: property, duration, timing function, delay
  • Why height: auto and transitions only in :hover surprise people
  • @keyframes with animation-direction, animation-fill-mode and steps()
  • Animating transform and opacity for smooth performance
  • Respecting prefers-reduced-motion

よくある質問

アカウントは必要ですか?

いいえ、誰でも遊べます。ログインすると XP、連続記録、バッジ、履歴が保存されます。

何度でも挑戦できますか?

はい。ベストスコアが記録され、問題と選択肢は毎回シャッフルされます。