Skip to content

Commit

Permalink
Create vedio.css
Browse files Browse the repository at this point in the history
css
  • Loading branch information
lijiarui authored Jan 6, 2017
1 parent e897d7d commit 0b28564
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _layouts/vedio.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.video-container {
position:relative;
padding-bottom:56.25%;
padding-top:30px;
height:0;
overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

0 comments on commit 0b28564

Please sign in to comment.