HTML & CSS-Quiz: 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.

Mittel 10 Fragen ~6 Minuten Bestanden ab 80%

Modus wählen

Du spielst als Gast: Melde dich an, damit XP und Serie gespeichert werden.

Beispielfrage

Frage 1 von 10

In this declaration, what does 1s mean?

.btn { transition: background-color 0.3s ease 1s; }
Lösung zeigen

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.

Darum geht es in diesem Quiz

  • 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

Häufige Fragen

Brauche ich ein Konto?

Nein. Jeder kann spielen. Mit Anmeldung werden XP, Serie, Abzeichen und Verlauf gespeichert.

Kann ich es wiederholen?

Ja. Dein Bestwert bleibt erhalten, und Fragen und Antworten werden jedes Mal neu gemischt.