CSS Overflow

CSS Overflow

  • Specifies whether to clip the content or to add scrollbars when the content of an element is too big to fit in the specified area.
  • Has the following values: visible (default. The overflow is not clipped, the content renders outside the element's box), hidden (the overflow is clipped, and the rest of the content will be invisible), scroll (the overflow is clipped, and a scrollbar is added to see the rest of the content), auto (similar to scroll, but it adds scrollbars only when necessary).
  • Only works for block elements with a specified height.

CSS Overflow — Structure map

Clickable & Draggable!

CSS Overflow — Related pages: