mirror of
https://github.com/jambonz/next-static-site.git
synced 2026-10-25 21:04:31 +00:00
Fluid video wrapper for docs <iframe> embeds
This commit is contained in:
1 parent
2d3b9fcad1
commit
ea77ea4e14
5 files changed
+28
-4
No files matched your search
@@ -77,4 +77,20 @@
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* Fluid video embeds
|
||||
*******************************************************************************/
|
||||
.video-wrap {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%;
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user