diff options
| author | Fabien <[email protected]> | 2013-12-30 05:52:00 +0100 |
|---|---|---|
| committer | Fabien <[email protected]> | 2013-12-30 05:52:00 +0100 |
| commit | 29e495f03cda05fd7fc362420ae86619c27b582e (patch) | |
| tree | 656b26c6962d2a9a68c5f2dd27c8c70cc4510fc1 /dist/css/bootstrap.css | |
| parent | a2aaf80c7e9f1848926e2c8817ee8475c8b30b43 (diff) | |
| download | bootstrap-29e495f03cda05fd7fc362420ae86619c27b582e.tar.xz bootstrap-29e495f03cda05fd7fc362420ae86619c27b582e.zip | |
Add Embed responsive utility
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index e096091ca..7d63cc139 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -5615,6 +5615,30 @@ button.close { .affix { position: fixed; } +.embed-responsive { + position: relative; + display: block; + height: 0; + padding: 0; + overflow: hidden; +} +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; +} +.embed-responsive.embed-responsive-16by9 { + padding-bottom: 56.25%; +} +.embed-responsive.embed-responsive-4by3 { + padding-bottom: 75%; +} @-ms-viewport { width: device-width; } |
