Created
October 10, 2012 18:06
-
-
Save awayken/3867244 to your computer and use it in GitHub Desktop.
WNYC logo
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
/**** | |
* WNYC logo | |
* Reference: http://www.wnyc.org/ | |
****/ | |
* { | |
line-height: 1; | |
margin: 0; | |
padding: 0; | |
} | |
body { | |
background: white; | |
color: #e11838; | |
font-family: arial; | |
font-size: 1em; | |
font-weight: bold; | |
} | |
a:link, a:visited { | |
color: #e11838; | |
} | |
p { | |
line-height: 1.5; | |
} | |
#wnyc { | |
font-size: 2em; | |
padding: 1em; | |
text-align: center; | |
text-transform: uppercase; | |
} | |
#wnyc span { | |
background: #e11838; | |
border-bottom: 12px solid #e11838; | |
color: white; | |
display: inline-block; | |
text-align: center; | |
width: 1em; | |
vertical-align: bottom; | |
} | |
#wnyc span:first-child { | |
background: white; | |
color: #e11838; | |
} | |
#wnyc span + span { | |
padding-top: 0.25em; | |
} | |
#wnyc span + span + span { | |
padding-top: 0.10em; | |
} | |
#wnyc span + span + span + span { | |
padding-top: 0.5em; | |
} |
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
<p>Sometimes you say to yourself, “I bet I can do that in CSS.”</p> | |
<p>The <a href="http://www.wnyc.org/">WNYC</a> logo, in CSS:</p> | |
<div id="wnyc"> | |
<span>W</span> | |
<span>N</span> | |
<span>Y</span> | |
<span>C</span> | |
</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":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment