Skip to content

Instantly share code, notes, and snippets.

@machal
Created March 15, 2012 10:49
Show Gist options
  • Select an option

  • Save machal/2043600 to your computer and use it in GitHub Desktop.

Select an option

Save machal/2043600 to your computer and use it in GitHub Desktop.
Dabblet: CSS - multiple box-shadows
/**
* Dabblet: CSS - multiple box-shadows
*/
.box {
box-shadow: -5px -5px rgb(128,128,128), -10px -10px rgb(0,0,0), -15px -15px 10px rgba(0,0,0,.25);
width: 200px;
padding: 1em;
margin: 5em;
background: white;
}
body {
background: lightgrey;
font-family: sans-serif;
}
<!-- content to be placed inside <body>…</body> -->
<div class="box">
Box with multiple box-shadow instances.
</div>
{"view":"split","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment