You probably want position: sticky instead of fixed
About this video
Hand-picked by a BrighterTube curator · found via round-3 back catalogue of a channel Lumen picks video by video · 82% confidenceCompares position: sticky and position: fixed, explaining when each is appropriate and demonstrating the correct use-case. Teaches CSS positioning behavior with clear distinctions.
A 16-minute video from Kevin Powell: “You probably want position: sticky instead of fixed”.
Video by Kevin Powell, played through YouTube's embedded player.