overflow: scroll

overflow: scroll

div {
  overflow: scroll;
}

Setting the value to scroll, the overflow is clipped and a scrollbar is added to scroll inside the box.

Note that this will add a scrollbar both horizontally and vertically (even if you do not need it).

Related concepts

overflow: scroll

overflow: scroll — Structure map

Clickable & Draggable!

overflow: scroll — Related pages: