1.

What sets the stack order of an element?(a) z-index(b) right(c) top(d) positionI have been asked this question at a job interview.I want to ask this question from Sliding Doors & Clipped Sliding Doors topic in chapter Layout & Images of CSS

Answer»

Right OPTION is (a) z-index

The best I can EXPLAIN: The z-index property specifies the stack ORDER of an element i.e. which element should be placed in FRONT of, or BEHIND, the others, an element can have positive or negative stack order,



Discussion

No Comment Found

Related InterviewSolutions