CSS-Only Sticky Headers for Tables, Using ‘position: sticky’

What’s neat about this is that you get the effect of the static table headers by introducing a few lines of css. No jQuery, no weird css that breaks the semantic intent of the content, and no javascript handlers built off scroll events.

An excerpt from CSS-Only Sticky Headers for Tables, Using ‘position: sticky’

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.