Created
July 31, 2014 17:57
-
-
Save gpestana/01ffda4444b138500034 to your computer and use it in GitHub Desktop.
youtube video css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="player" class=" watch-medium "> | |
<div id="theater-background"></div> | |
<div id="player-mole-container"></div> //here goes the player | |
<div class="clear"></div> | |
</div> | |
#theater-background{ | |
position:absolute; | |
left:0; | |
margin-top:-10px; | |
width:100%; | |
height:520px; | |
-moz-transition:background-color .3s ease; | |
-webkit-transition:background-color .3s ease; | |
transition:background-color .3s ease | |
} | |
.watch-large #theater-background{ | |
height:760px | |
} | |
#player-mole-container{ | |
position:relative | |
} | |
.clear{ | |
clear:both | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment