Skip to content

Instantly share code, notes, and snippets.

@maxhoffmann
Created March 20, 2012 10:03
Show Gist options
  • Save maxhoffmann/2133729 to your computer and use it in GitHub Desktop.
Save maxhoffmann/2133729 to your computer and use it in GitHub Desktop.
CSS3 text-shadow, box-shadow
/* CSS3 text-shadow, box-shadow */
div {
color: white;
font-size: 1.8em;
font-family: Helvetica;
background: #ccc;
width: 200px;
height: 200px;
padding: 20px;
text-shadow: 0 1px 2px rgba(0,0,0,.4);
box-shadow: 0 3px 5px rgba(0,0,0,.3);
}
<div>
In order to truly craft with pixels, one must think like a pixel.</div>
{"view":"separate","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment