Quiz 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 questions ~5 minutes Réussi à partir de 80 %

Choisissez un mode

Vous jouez en invité : connectez-vous pour garder votre XP et votre série.

Exemple de question

Question 1 sur 10

What happens to the box and the elements after it?

.box { transform: translateX(50px); }
Voir la réponse

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.

Ce que couvre ce 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%)

Questions fréquentes

Faut-il un compte ?

Non. Tout le monde peut jouer. Connectez-vous pour garder votre XP, votre série, vos badges et votre historique.

Puis-je le refaire ?

Oui. Votre meilleur score est conservé, et les questions comme les réponses sont mélangées à chaque fois.