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

The scale() function

What does transform: scale(1.5) do?

Answer options

  • Enlarges the element 1.5 times
  • Moves the element by 1.5 pixels
  • Rotates the element by 1.5 degrees
  • Shrinks the element by half

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