What’s this?
An example of position: sticky
as proposed on www-style.
Watch as the blue title bars remain in the viewport at top: 10px
until their parent no longer fits.
All thanks to position: sticky
. There are no scroll
handlers on this page.
Support: Chromium 23.0.1247.0 with the --enable-experimental-webkit-features
flag enabled
via about:flags
.
Scroll this page.
Your browser does not support position: sticky
!!
No