Use these shorthand utilities for quickly configuring how content overflows an element.
Adjust the overflow
attribute on the fly with four default values and classes. These classes are not responsive by default.
.overflow-auto
on an element with set width and height dimensions. By design, this content will vertically scroll. .overflow-hidden
on an element with set width and height dimensions. .overflow-visible
on an element with set width and height dimensions. .overflow-scroll
on an element with set width and height dimensions. <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>