mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
Add CSS for video container
This commit is contained in:
parent
18ed1e19d7
commit
8a776cd9e2
11
_assets/stylesheets/components/_video-container.scss
Normal file
11
_assets/stylesheets/components/_video-container.scss
Normal file
@ -0,0 +1,11 @@
|
||||
.video-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
|
||||
iframe {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
@ -41,6 +41,7 @@
|
||||
@import "components/article";
|
||||
@import "components/pagination";
|
||||
@import "components/photo";
|
||||
@import "components/video-container";
|
||||
|
||||
// 7. Utilities – utilities and helper classes with ability to override
|
||||
// anything which goes before in the triangle, eg. hide helper class
|
||||
|
||||
Loading…
Reference in New Issue
Block a user