Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Curved box Shadow
/**
* Curved box Shadow
* Alternative : http://www.creativejuiz.fr/blog/tutoriels/ombre-avancees-avec-css3-et-box-shadow
*/
div {
margin: 3em;
width: 500px;
height: 240px;
background-color: #f6f6f6;
/*
a "parent bg-color" box-shadow over the main shadow
Understand it with : box-shadow: 0 88px 149px 49px #4FF, 0 12px 9px -5px rgba(0, 0, 0, 1);
*/
box-shadow: 0 88px 149px 49px #FFF, 0 12px 9px -5px rgba(0, 0, 0, 1);
}
<!-- content to be placed inside <body>…</body> -->
<div></div>
{"view":"split","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.