Sticky table header take #3
Following the last couple of posts, a new iteration of sticky table headers has been created today. In this iteration, horizontal scrolling is made possible using the overflow of a container element while vertical scrolling causes is relative to the viewport. The header of the table sticks to the top of the viewport until the user scrolls beyond the end of the table.
The effect is shown on this example page: https://www.css-daily.com/examples-sticky-table-header/
The code to create the effect has been put into a GitLab repository: https://gitlab.com/css-daily/sticky-table-header