[amp_mcq option1=”overflow-style” option2=”opacity” option3=”overflow-x” option4=”perspective” correct=”option4″]
The correct answer is D. perspective.
The perspective property is used to create a 3-D effect on an element by making it appear to be closer or further away from the viewer. It can be used to create a sense of depth and dimension on a web page.
The other options are not used to create a 3-D effect.
- Overflow-style is used to specify how the content of an element overflows its boundaries.
- Opacity is used to specify the transparency of an element.
- Overflow-x is used to specify how the content of an element overflows its boundaries horizontally.