Created
December 7, 2012 12:49
-
-
Save pixeline/4233052 to your computer and use it in GitHub Desktop.
TEXT ON IMAGE
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
/* TEXT ON IMAGE */ | |
body{ | |
background: url(http://upload.wikimedia.org/wikipedia/commons/7/76/Manneken_pis_xmas.jpg); | |
background-size: cover; | |
position:relative; | |
color:white; | |
font-family: "DIN-regular",Helvetica,sans-serif; | |
font-weight:bold; | |
font-size:2.5em; | |
line-height:1; | |
vertical-align:top; | |
} | |
p{ | |
width:auto; | |
padding:1px 12px; | |
display:table; | |
background:#EE0000; | |
margin:0 0 .1em; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div id="text"> | |
<p>Manneken pis m'a pissé dessus et...</p> | |
<p>maintenant je suis mouillé.</p> | |
</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
// 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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment