Petah Petah - 3 months ago 37x
CSS Question

Why doesn't position: sticky work in Chrome?

How do you get

position: sticky

I tried the following in Chrome 26.0.1410.43 m and it's not working:

thead {
position: -webkit-sticky;
position: -moz-sticky;
position: -ms-sticky;
position: -o-sticky;
position: sticky;
top: 10px;

According to this, it should work:

It seemed to be supported in Chrome 23.0.1247.0, but now it doesn't work in 26.0.1410.43 m.


EDIT: You need to launch with --enable-experimental-webkit-features flag enabled via about:flags.

Update: This does not work on Chrome v35 through v51, Chrome 52 reenables this with the experimental web platform features flag.