Created
February 9, 2013 07:05
-
-
Save brito/4744435 to your computer and use it in GitHub Desktop.
head peek
This file contains hidden or 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
/* head peek */ | |
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro); | |
html { background:#ccc; font:1em/1.6 Source Sans Pro } | |
head { max-height:0; overflow:hidden; display:block; | |
/* hide delay */ | |
transition:max-height 250ms 2s } | |
body, style { background:white } | |
head style:first-of-type { display:block; white-space:pre } | |
head style:first-of-type:after { content:url(http://notbad.jpg.to) } | |
:active head, head:hover { max-height:80em; | |
transition:max-height 250ms 500ms } | |
This file contains hidden or 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
<p>hold click for at least half a second… |
This file contains hidden or 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 hidden or 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