Responsive Video
This commit is contained in:
parent
996dc188cc
commit
fc4f040520
@ -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%;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user