The CSS property transform: scale(________); is used to double the size of an element.
- 1
- 1.5
- 2
- 0.5
The correct option is 2. The transform property with the scale function is used to resize elements, and a value of 2 doubles the size.
Loading...
Related Quiz
- What is the purpose of the CSS border-style property?
- When designing a website, a developer uses multiple classes and ID selectors within their stylesheet. They notice that changes to some class styles are not taking effect. What might be the reason based on specificity rules?
- What is SASS primarily used for in web development?
- How does the animation-fill-mode property affect the state of the animated element before and after the animation?
- How do you specify the duration of a transition effect in CSS?