Responsive Video

This commit is contained in:
Anthony Dumas 2016-04-11 22:30:38 +02:00
parent 996dc188cc
commit fc4f040520

View File

@ -219,7 +219,7 @@ section.contact {
background: #6C6F7D;
}
/* About Section*/
/* About section*/
section.etudes {
color: #fff;
background: #6C6F7D;
@ -535,3 +535,20 @@ h6 {
margin-left:auto;
margin-right:auto;
}
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}