Put in order · HTML and CSS course · Module 6: CSS Animations

Evolution from 2D to 3D Transform

Order CSS transform techniques from simplest 2D to full 3D:

Items to put in order

  • perspective + rotate3d() - full 3D scene
  • rotateX() / rotateY() - rotation around one 3D axis
  • translate(x, y) - 2D movement
  • rotate(deg) - 2D rotation around Z axis

You can check the correct answer by solving this task in the CodeWorlds game.