Bootstrap – Overflow


Bootstrap – Overflow



”;


This chapter discusses about the overflow utility of Bootstrap. The overflow utility classes are used to control the behavior of overflowing content within an element.

Bootstrap provides several utility classes related to overflow. By default these classes are not responsive.








Class Description
.overflow-auto automatically adds the scrollbar to the element if the content exceeds the dimensions of the element.
.overflow-hidden hides the content when it exceeds the dimensions of the element.
.overflow-scroll adds the scrollbar to the element regardless of whether the content exceeds the dimensions of the element or not.
.overflow-visible allows the content to overflow the dimensions of the element without clipping or scrolling.


Let us see an example: