Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
---
2
layout: docs
3
title: Overflow
4
description: Use these shorthand utilities for quickly configuring how content overflows an element.
5
group: utilities
6
---
7
 
8
Barebones `overflow` functionality is provided for two values by default, and they are not responsive.
9
 
10
<div class="bd-example d-md-flex">
11
  <div class="overflow-auto p-3 mb-3 mb-md-0 mr-md-3 bg-light" style="max-width: 260px; max-height: 100px;">
12
    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.
13
  </div>
14
  <div class="overflow-hidden p-3 bg-light" style="max-width: 260px; max-height: 100px;">
15
    This is an example of using <code>.overflow-hidden</code> on an element with set width and height dimensions.
16
  </div>
17
</div>
18
 
19
```html
20
<div class="overflow-auto">...</div>
21
<div class="overflow-hidden">...</div>
22
```
23
 
24
Using Sass variables, you may customize the overflow utilities by changing the `$overflows` variable in `_variables.scss`.