Skip to content

Instantly share code, notes, and snippets.

@bkaminski
Last active September 2, 2017 15:04
Show Gist options
  • Select an option

  • Save bkaminski/c873983d8139c94b6682cf884028bbaf to your computer and use it in GitHub Desktop.

Select an option

Save bkaminski/c873983d8139c94b6682cf884028bbaf to your computer and use it in GitHub Desktop.
CSS3HTML5Video
.header-unit {
height: 150px;
border: 2px solid #000;
border-right:none;
border-left: none;
position: relative;
padding: 20px;
}
#video-container {
position: absolute;
}
#video-container {
top:0%;
left:0%;
height:100%;
width:100%;
overflow: hidden;
}
video {
position:absolute;
z-index:0;
}
video.fillWidth {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment