Przewiń div, gdy przewiń stronę

/* 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 */
Mushy Mantis