18 Positioning questions from the CSS bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Sign up free to see every answer with its explanation and ask the AI tutor.
A.a value that offsets an element from its normal spot while still reserving its original space in flow
B.a value that removes an element from flow and places it relative to the nearest positioned ancestor
C.a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
D.a self-contained layer hierarchy in which z-index values are compared only among siblings
Answer + AI explanation with a free account
2. Which term means: "a value that offsets an element from its normal spot while still reserving its original space in flow"?
Junior
A.position absolute
B.position sticky
C.position relative
D.position fixed
Answer + AI explanation with a free account
3. Which statement is correct?
Junior
A.position relative — a value that offsets an element from its normal spot while still reserving its original space in flow
B.position relative — a self-contained layer hierarchy in which z-index values are compared only among siblings
C.position relative — a value that removes an element from flow and places it relative to the nearest positioned ancestor
D.position relative — a value that removes an element from flow and pins it relative to the viewport during scrolling
Answer + AI explanation with a free account
4. What is position absolute?
Mid
A.a value that removes an element from flow and places it relative to the nearest positioned ancestor
B.a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
C.a value that removes an element from flow and pins it relative to the viewport during scrolling
D.a self-contained layer hierarchy in which z-index values are compared only among siblings
Answer + AI explanation with a free account
5. Which term means: "a value that removes an element from flow and places it relative to the nearest positioned ancestor"?
Mid
A.position absolute
B.position fixed
C.position sticky
D.z-index
Answer + AI explanation with a free account
6. Which statement is correct?
Mid
A.position absolute — a value that removes an element from flow and places it relative to the nearest positioned ancestor
B.position absolute — the property controlling stacking order of overlapping positioned elements
C.position absolute — a value that offsets an element from its normal spot while still reserving its original space in flow
D.position absolute — a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
Answer + AI explanation with a free account
7. What is position fixed?
Mid
A.a value that offsets an element from its normal spot while still reserving its original space in flow
B.a value that removes an element from flow and pins it relative to the viewport during scrolling
C.a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
D.a value that removes an element from flow and places it relative to the nearest positioned ancestor
Answer + AI explanation with a free account
8. Which term means: "a value that removes an element from flow and pins it relative to the viewport during scrolling"?
Mid
A.position relative
B.z-index
C.position fixed
D.stacking context
Answer + AI explanation with a free account
9. Which statement is correct?
Mid
A.position fixed — a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
B.position fixed — the property controlling stacking order of overlapping positioned elements
C.position fixed — a value that removes an element from flow and places it relative to the nearest positioned ancestor
D.position fixed — a value that removes an element from flow and pins it relative to the viewport during scrolling
Answer + AI explanation with a free account
10. What is position sticky?
Mid
A.a value that offsets an element from its normal spot while still reserving its original space in flow
B.a value that removes an element from flow and pins it relative to the viewport during scrolling
C.a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
D.a value that removes an element from flow and places it relative to the nearest positioned ancestor
Answer + AI explanation with a free account
11. Which term means: "a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container"?
Mid
A.z-index
B.position fixed
C.stacking context
D.position sticky
Answer + AI explanation with a free account
12. Which statement is correct?
Mid
A.position sticky — a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
B.position sticky — a value that removes an element from flow and places it relative to the nearest positioned ancestor
C.position sticky — a self-contained layer hierarchy in which z-index values are compared only among siblings
D.position sticky — a value that removes an element from flow and pins it relative to the viewport during scrolling
Answer + AI explanation with a free account
13. What is z-index?
Junior
A.a value that offsets an element from its normal spot while still reserving its original space in flow
B.a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
C.the property controlling stacking order of overlapping positioned elements
D.a self-contained layer hierarchy in which z-index values are compared only among siblings
Answer + AI explanation with a free account
14. Which term means: "the property controlling stacking order of overlapping positioned elements"?
Junior
A.position fixed
B.z-index
C.position relative
D.position sticky
Answer + AI explanation with a free account
15. Which statement is correct?
Junior
A.z-index — a value that offsets an element from its normal spot while still reserving its original space in flow
B.z-index — a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
C.z-index — the property controlling stacking order of overlapping positioned elements
D.z-index — a value that removes an element from flow and pins it relative to the viewport during scrolling
Answer + AI explanation with a free account
16. What is stacking context?
Senior
A.a self-contained layer hierarchy in which z-index values are compared only among siblings
B.the property controlling stacking order of overlapping positioned elements
C.a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
D.a value that removes an element from flow and places it relative to the nearest positioned ancestor
Answer + AI explanation with a free account
17. Which term means: "a self-contained layer hierarchy in which z-index values are compared only among siblings"?
Senior
A.z-index
B.position relative
C.stacking context
D.position absolute
Answer + AI explanation with a free account
18. Which statement is correct?
Senior
A.stacking context — a self-contained layer hierarchy in which z-index values are compared only among siblings
B.stacking context — the property controlling stacking order of overlapping positioned elements
C.stacking context — a value that behaves as in-flow until a scroll threshold is crossed, then stays pinned within its container
D.stacking context — a value that removes an element from flow and places it relative to the nearest positioned ancestor
Answer + AI explanation with a free account
Free to start
Answers, AI explanations, and a free readiness check
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.