Answers for "overflow scrollbar with variable height"

CSS
1

overflow scrollbar with variable height

/* The element which contains one/many content sections */
.container {
  display: flex;
  flex-direction: column;
}

/* The container's content you want to add an overflow to */
.container .scrollable-content {
  flex-grow: 1;  
  overflow: auto;
}
Posted by: Guest on May-22-2020

Code answers related to "overflow scrollbar with variable height"

Browse Popular Code Answers by Language