overflow-x and overflow-y

div {
  overflow-x: hidden; /* Hide horizontal scrollbar */
  overflow-y: scroll; /* Add vertical scrollbar */
  • Specifies whether to change the overflow of content just horizontally or vertically (or both):.
  • Overflow-x specifies what to do with the left/right edges of the content.
  • Overflow-y specifies what to do with the top/bottom edges of the content.

overflow-x and overflow-y — Structure map

Clickable & Draggable!

overflow-x and overflow-y — Related pages: