Skip to content

Commit

Permalink
Create behind-controls.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mounirlamouri authored Sep 29, 2016
1 parent c8b4997 commit 0b042fc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions media/behind-controls.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<title>z-index hack</title>
</head>
<style>
div.behind {
position: absolute;
top: 444px;
left: 30px;
height: 40px;
width: 100px;
background-color: yellow;
border: 1px solid red;
}
video::-webkit-media-controls-panel {
z-index: 1;
}
</style>
<body>
<video src='https://storage.googleapis.com/dalecurtis-shared/buck2.mp4' controls></video>
<div class=behind>i'm behind</div>
</body>
</html>

0 comments on commit 0b042fc

Please sign in to comment.