1.

Which of the following property is used to define how nested items are rendered in a 3-D space?(a) transform-style(b) transform(c) transform-origin(d) transform-3DI have been asked this question by my college professor while I was bunking the class.I need to ask this question from Inheritance and Cascade topic in portion CSS Properties, Elements, Functions & Tables of CSS

Answer»

The correct answer is (a) transform-style

For explanation: transform-style is used to DEFINE how nested ITEMS are rendered in a 3-D SPACE, the choice being either flattened or with their dimensions PRESERVED. This property affects the children of the ELEMENT and not the element itself. Also, the property does not cascade, so it is necessary to apply it at all levels.



Discussion

No Comment Found

Related InterviewSolutions