Responsive youtube embeds
This commit is contained in:
parent
afabb7fb6d
commit
c9dc263b4e
1 changed files with 18 additions and 0 deletions
|
@ -22,4 +22,22 @@
|
|||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
iframe.youtube {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
|
||||
@media #{$sm} {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
@media #{$md} {
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
@media #{$lg} {
|
||||
height: 500px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue