← Quiz: Flexbox and Grid: all 10 questions
Quiz: Flexbox and Grid · Question 4 of 10
Which position value keeps an element on screen while you scroll the whole page?
Which position value keeps an element on screen while you scroll the whole page?
- A.relative
- B.absolute
- C.fixed
- D.static
Answer & explanation
Correct answer: fixed
fixed elements are positioned relative to the viewport.
Can you get the rest right without peeking?
Take the timed Quiz: Flexbox and Grid quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →