Overflow

Use these shorthand utilities for quickly configuring how content overflows an element.

On this page

Adjust the overflow attribute on the fly with four default values and classes. These classes are not responsive by default.

This is an example of using .overflow-auto on an element with set width and height dimensions. By design, this content will vertically scroll.
This is an example of using .overflow-hidden on an element with set width and height dimensions.
This is an example of using .overflow-visible on an element with set width and height dimensions.
This is an example of using .overflow-scroll on an element with set width and height dimensions.
vue
<template>
  <b-div display="md-flex">
    <b-div
      overflow="auto"
      padding="3"
      margin="b-3 b-md-0 e-md-3"
      background-color="light"
      style="max-width: 260px; max-height: 100px"
    >
      This is an example of using
      <code>.overflow-auto</code>
      on an element with set width and height dimensions. By design, this
      content will vertically scroll.
    </b-div>
    <b-div
      overflow="hidden"
      padding="3"
      margin="b-3 b-md-0 e-md-3"
      background-color="light"
      style="max-width: 260px; max-height: 100px"
    >
      This is an example of using
      <code>.overflow-hidden</code>
      on an element with set width and height dimensions.
    </b-div>
    <b-div
      overflow="visible"
      padding="3"
      margin="b-3 b-md-0 e-md-3"
      background-color="light"
      style="max-width: 260px; max-height: 100px"
    >
      This is an example of using
      <code>.overflow-visible</code>
      on an element with set width and height dimensions.
    </b-div>
    <b-div
      overflow="scroll"
      padding="3"
      margin="b-3 b-md-0 e-md-3"
      background-color="light"
      style="max-width: 260px; max-height: 100px"
    >
      This is an example of using
      <code>.overflow-scroll</code>
      on an element with set width and height dimensions.
    </b-div>
  </b-div>
</template>