Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

scroll div when page scroll

/* A basic solution is: */
div.classname {
	position : sticky;
  }
/* property in your external or internal CSS code.
Detailed information at : https://developer.mozilla.org/en-US/docs/Web/CSS/position */
 
PREVIOUS NEXT
Tagged: #scroll #div #page #scroll
ADD COMMENT
Topic
Name
5+9 =