Direction: Choose the correct option
Q1.
What does the z-index property control?
Direction: Choose the correct option
Q2.
.box1 { z-index: 10; }
.box2 { z-index: 5; }Which box will appear on top if they overlap?Direction: Choose the correct option
Q3.
Which elements can have z-index applied?
Direction: Choose the correct option
Q4.
What is the default z-index value?
Direction: Choose the correct option
Q5.
.parent { position: relative; z-index: 1; }
.child { position: absolute; z-index: 999; }What is true about these elements?