Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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