Initial commit
This commit is contained in:
38
client/scss/components/_iframes.scss
Normal file
38
client/scss/components/_iframes.scss
Normal file
@@ -0,0 +1,38 @@
|
||||
/*Responsive Videos and iframes*/
|
||||
.max-iframe {
|
||||
max-height: 200px !important;
|
||||
height: 300px !important;
|
||||
padding-bottom: 0px !important;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.responsive-iframe {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
object {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
embed {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user