Problem Statement
What best describes position: sticky?
Explanation
A sticky element toggles between relative and fixed positioning depending on the scroll position. It stays fixed only after crossing a defined offset.
Code Solution
SolutionRead Only
header { position: sticky; top: 0; }