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.

Demo

Documentation

Specification

Specification link


Specification currently under development in a Working Group

Status in Chromium

Blink>CSS


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Comments

Removed in Blink http://src.chromium.org/viewvc/blink?view=revision&revision=177128 in Chrome 23. A new implementation has been enabled in 56.

Last updated on 2020-11-19