Created
March 12, 2013 20:35
-
-
Save drublic/5146773 to your computer and use it in GitHub Desktop.
Fixed content and YouToube iframe in WebKit
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
/** | |
* Fixed content and YouToube iframe in WebKit | |
*/ | |
.fixed { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
background: #ddd; | |
font-size: 2em; | |
} | |
html { | |
height: 4000px; | |
} |
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 class="fixed"> | |
Fixed content | |
</div> | |
<iframe width="560" height="200" src="http://www.youtube.com/embed/Ku8grgTo0-k?wmode=transparent" frameborder="0" allowfullscreen></iframe> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment