Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

css static header on scroll

table thead,
table tfoot {
  position: sticky;
}
table thead {
  inset-block-start: 0; /* "top" */
}
table tfoot {
  inset-block-end: 0; /* "bottom" */
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #css #static #header #scroll
ADD COMMENT
Topic
Name
4+7 =