Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to make the header stay on the top of the page in html

header {
  position: sticky;
  top: 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #header #stay #top #page #html
ADD COMMENT
Topic
Name
9+3 =