Created
June 25, 2012 21:08
-
-
Save cahnory/2991253 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 { padding:50px; background:#2fa7ca;; } | |
h1 { width:450px; font:bold 36px sans-serif; letter-spacing:-1px; color:#000; } | |
.challenge { | |
display:block; | |
} | |
.challenge:first-line { | |
background: #FFF; | |
box-shadow: -10px 0 0 10px #FFF, 10px 0 0 10px #FFF; | |
} | |
.accepted { | |
background: #FFF; | |
display:inline; | |
box-shadow: 0 10px #FFF, | |
-15px 5px 0 5px #FFF, | |
15px 5px 0 5px #FFF; | |
} |
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
<!doctype html> | |
<html> | |
<head> | |
<title>CSS Brain Teaser</title> | |
<!-- | |
Un exercice rigolo proposé par HTeuMeuLeu | |
http://www.hteumeuleu.fr | |
--> | |
</head> | |
<body> | |
<h1><span class="challenge"><span class="accepted">Du texte HTML dynamique sur plusieurs lignes avec un fond qui suit bien et des marges autour.</span ></span ></h1> | |
</body> | |
</html> |
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-vertical","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