The position property controls an element's placement. static is the default, relative offsets from its normal place, absolute places relative to the nearest positioned ancestor, fixed relative to the window, sticky alternates between normal and fixed when scrolling.
Example
header { position: sticky; top: 0; }