Created
June 12, 2012 10:04
-
-
Save anonymous/2916692 to your computer and use it in GitHub Desktop.
Untitled
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
body { | |
background-color: #383532; | |
} | |
#my-content { | |
position: relative; | |
width: 600px; | |
overflow: hidden; | |
margin: 0 auto; | |
} | |
#my-content > img { | |
display: block; | |
} | |
#my-content .description { | |
position: absolute; | |
bottom: 20px; | |
right: 20px; | |
width: 230px; | |
padding: 15px; | |
background-color: #FABC72; | |
} | |
#my-content .description:before { | |
content: "LOL"; | |
position: absolute; | |
top: -1000px; | |
bottom: 100%; | |
left: 0; | |
right: 0; | |
background: url('http://kusto.ch/img/bg.png') repeat-y -335px 0; | |
} | |
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
<div id="my-content"> | |
<img src="http://baconmockup.com/bm-home-280.jpg" width="300" alt="bacon" /> | |
<div class="description"> | |
Bacon ipsum dolor sit amet ribeye meatball andouille sirloin drumstick | |
tri-tip. Meatloaf beef ground round, capicola tri-tip fatback swine | |
frankfurter. Meatball pork beef ribeye tongue, salami pork loin flank. | |
Beef pastrami tri-tip. | |
</div> | |
<div> |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment