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.
Loading...
Related Quiz
- How can you specify a fallback font if the primary font fails to load?
- What is the default value of the animation-direction property in CSS?
- The CSS property float can be cleared using the value ________.
- In SASS or SCSS, the ________ allows you to reference the parent selector within a nested rule.
- The ________ of a webpage includes the steps the browser must take to convert HTML, CSS, and JavaScript into a rendered page.