position: sticky is a new way to position elements and is conceptually similar to position: fixed. The difference is that a stickily positioned element behaves like position: relative within its parent, until a given offset threshold is met.
Specification currently under development in a Working Group
Status in Chromium
Enabled by default
Consensus & Standardization
Last updated on 2020-11-19