Skip to content

Instantly share code, notes, and snippets.

@lilrogalski
Created December 23, 2011 22:05
Show Gist options
  • Select an option

  • Save lilrogalski/1515488 to your computer and use it in GitHub Desktop.

Select an option

Save lilrogalski/1515488 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
color: #111;
padding: 24px 0;
}
.somediv {
border-radius: 10px;
box-shadow: 0px 1px 1px black;
background: url("http://not.done.com/images/general/texture.png");
padding: 20px;
width: 400px;
height: 400px;
margin: 80px auto;
text-align: center;
font-size: 400%;
text-shadow: 2px 2px 1px white, -1px -1px 4px gray;
font-weight: bold;
color: #444444;
}
<!-- content to be placed inside <body>…</body> -->
<div class="somediv">
<p>Some Dope Inset Text Using only CSS3
</p>
</div>
{"view":"split-vertical","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment