Problem Statement
What is unique about position: sticky?
Explanation
Sticky combines relative and fixed behavior. It scrolls with content until a defined position (like top: 0) and then sticks to that position.
Code Solution
SolutionRead Only
header { position: sticky; top: 0; background: white; }Practice Sets
This question appears in the following practice sets:
