Which CSS transform property is used to change the size of an element?

  • scale()
  • resize()
  • transform-size
  • size()
The correct option is scale(). This property is used to change the size of an element by specifying a scaling factor. For example, transform: scale(2) will make the element twice as large.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *