Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

position sticky css

/*
Try add this class to the element that you would like to make "sticky"
 - I hope it helps, happy coding ^_^
*/
.sticky{
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0; 
}
 
PREVIOUS NEXT
Tagged: #position #sticky #css
ADD COMMENT
Topic
Name
5+2 =