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

Facile 10 domande ~5 minuti Superato con il 80%

Scegli una modalità

Stai giocando come ospite: accedi per salvare XP e serie.

Domanda di esempio

Domanda 1 di 10

What happens to the box and the elements after it?

.box { transform: translateX(50px); }
Mostra la risposta

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.

Cosa copre questo 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%)

Domande frequenti

Serve un account?

No. Chiunque può giocare. Accedi per salvare XP, serie, badge e cronologia.

Posso rifarlo?

Sì. Il tuo miglior punteggio resta salvato, e domande e risposte vengono mescolate ogni volta.