Question · Cours HTML et CSS · Module 6: Animations CSS

Combiner des fonctions transform

Comment combiner plusieurs fonctions transform dans une seule déclaration CSS ?

Réponses possibles

  • transform: rotate(45deg); transform: scale(1.5);
  • transform: rotate(45deg) scale(1.5);
  • transform: [rotate(45deg), scale(1.5)];
  • multi-transform: rotate(45deg) scale(1.5);

Tu vérifieras la bonne réponse en résolvant cet exercice dans le jeu CodeWorlds.