Created
June 28, 2012 21:27
-
-
Save marcolago/3014016 to your computer and use it in GitHub Desktop.
A fun exercise brought to you by HTeuMeuLeu: the marcolago's solution
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
/** | |
* A fun exercise brought to you by HTeuMeuLeu: the marcolago's solution | |
* http://www.hteumeuleu.fr | |
* http://www.hteumeuleu.fr/a-css-brain-teaser/ | |
* http://www.twitter.com/HTeuMeuLeu | |
*/ | |
body { padding:50px; background:#2fa7ca; } | |
h1 { font:bold 36px sans-serif; letter-spacing:-1px; color:#000; } | |
header { | |
width: 480px; | |
} | |
h1 { | |
display: inline; | |
background-color: #ffffff; | |
line-height: 1.42em; | |
box-shadow: -20px 0px 0px 10px #ffffff, 20px 0px 0px 10px #ffffff; | |
} |
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
<header> | |
<h1>Some dynamic HTML text on several lines with a background that suits well and some margins around it.</h1> | |
</header> |
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