HTML & CSS-Quiz: Transforms

This CSS quiz covers the transform property and its functions: translate(), rotate(), scale() and skew(). You will also check transform-origin, why the order of functions matters and the individual translate, rotate and scale properties.

Leicht 10 Fragen ~5 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

What happens to the box and the elements after it?

.box { transform: translateX(50px); }
Lösung zeigen

A. The box moves 50px right and the elements after it stay where they were Transforms are visual only: the element still takes up its original space in the layout, so neighbors do not move. Positive translateX moves to the right.

Darum geht es in diesem Quiz

  • translate(), rotate(), scale() and skew()
  • Transforms do not change the layout around the element
  • transform-origin and the order of transform functions
  • Individual transform properties: rotate, scale, translate
  • Centering with translate(-50%, -50%)

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.