Skip to content

Instantly share code, notes, and snippets.

@martinjlowm
Created March 28, 2012 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save martinjlowm/2225507 to your computer and use it in GitHub Desktop.
Save martinjlowm/2225507 to your computer and use it in GitHub Desktop.
Untitled
.shadow {
position: relative;
top: 20px;
height: 20px;
}
.shadow:before {
position: absolute;
content: '';
left: 0;
right: 0;
bottom: 0;
top: 0;
background-color: rgba(155,155,0, 0.25);
border-radius: 50% / 20px;
box-shadow: rgba(0, 0, 0, 0.5) 0 5px 10px;
clip: rect(20px, auto, 50px, 0);
}
<div class="shadow"></div>
{"view":"split","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment