Created
August 19, 2012 12:55
-
-
Save dvnckr/3394674 to your computer and use it in GitHub Desktop.
Untitled
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
body { | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%;} | |
#monkey { | |
width:150px; | |
height:150px; | |
margin:auto; | |
border: 2px inset #fff; | |
border-radius:75px; | |
background: url('http://images1.wikia.nocookie.net/__cb20100311140518/desencyclopedie/images/0/09/Killer_monkey.jpg') no-repeat; | |
background-size: auto 150px;} | |
#monkey:hover { | |
background: rgba(0,0,0,0.5) no-repeat fixed, url('http://images1.wikia.nocookie.net/__cb20100311140518/desencyclopedie/images/0/09/Killer_monkey.jpg');} | |
/*url('http://images1.wikia.nocookie.net/__cb20100311140518/desencyclopedie/images/0/09/Killer_monkey.jpg') no-repeat*/ |
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="monkey"></div> |
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":"80","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment