Question · HTML and CSS course · Module 3: CSS Basics

The rotate() function

What does transform: rotate(45deg) do?

Answer options

  • Moves the element by 45 pixels
  • Rotates the element by 45 degrees
  • Scales the element 45 times
  • Skews the element by 45%

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