-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
…nts page with an example, fixing a Glyhpicons list problem in the docs
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Embeds responsive | ||
// | ||
// Credit: Nicolas Gallagher and SUIT CSS. | ||
|
||
.embed-responsive { | ||
position: relative; | ||
display: block; | ||
height: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
|
||
.embed-responsive-item, | ||
iframe, | ||
embed, | ||
object { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
height: 100%; | ||
width: 100%; | ||
border: 0; | ||
} | ||
|
||
// Modifier class for 16:9 aspect ratio | ||
&.embed-responsive-16by9 { | ||
padding-bottom: 56.25%; | ||
} | ||
|
||
// Modifier class for 4:3 aspect ratio | ||
&.embed-responsive-4by3 { | ||
padding-bottom: 75%; | ||
} | ||
} |