Creating list and table sticky headers with HTML and CSS

Using CSS position: sticky