Summary Files Commits Branches @commit @diff @stats
path: root / src / media.less
diff options
context:
space:
mode:
1 files changed, 9 insertions, 9 deletions
-rw-r--r--src/media.less18
diff --git a/src/media.less b/src/media.less
index a3e055e..f27c068 100644
--- a/src/media.less
+++ b/src/media.less
@@ -1,28 +1,28 @@
// Media
.img-responsive {
display: block;
- max-width: 100%;
height: auto;
+ max-width: 100%;
}
.video-responsive {
- position: relative;
height: 0;
- padding-top: 3rem;
- padding-bottom: 56.25%; /* 16:9 */
overflow: hidden;
+ padding-bottom: 56.25%; /* 16:9 */
+ padding-top: 3rem;
+ position: relative;
iframe,
object,
embed {
+ height: 100%;
+ left: 0;
position: absolute;
top: 0;
- left: 0;
width: 100%;
- height: 100%;
}
video {
- width: 100%;
- max-width: 100%;
height: auto;
+ max-width: 100%;
+ width: 100%;
}
-} \ No newline at end of file
+}