Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*--------------------------------------------------------------
- Video embed fix
- Use <div class="video-frame"> embed code</div> in a post
- --------------------------------------------------------------*/
- .video-frame {
- position: relative;
- padding-bottom: 56.25%;
- padding-top: 30px;
- overflow: hidden;
- height: 0;
- }
- .video-frame iframe,
- .video-frame object,
- .video-frame embed {
- position: absolute;
- height: 100%;
- width: 100%;
- left: 0;
- top: 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement