Position sticky and table headers

Chris Coyier / filed under HTML & CSS

You can’t position: sticky; a thead. Nor a tr. But you can sticky a th, which means you can make sticky headers inside a regular ol’ table. This is tricky stuff, because if you didn’t know this weird quirk, it would be hard to blame you. It makes way more sense to sticky a parent […]

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission