Skip to content

Instantly share code, notes, and snippets.

@baranok
Last active August 29, 2015 14:26
Show Gist options
  • Save baranok/fe4f17f65ffd15618991 to your computer and use it in GitHub Desktop.
Save baranok/fe4f17f65ffd15618991 to your computer and use it in GitHub Desktop.
/* Simulates extension box with shadow */
#container {
margin: 30px auto;
background-color: #fbfbfb;
width: 800px;
border: 1px rgba(0, 0, 0, 0.35) solid;
border-bottom-color: rgba(0, 0, 0, 0.43);
border-radius: 3px;
-webkit-box-shadow: 0 1px 0 1px rgba(0,0,0,0.01),
0 1px 0 0px rgba(0,0,0,0.055),
0 2px 0 0px rgba(0,0,0,0.05),
0 2px 1px rgba(0,0,0,0.1),
0 3px 0 -1px rgba(0,0,0,0.05);
padding: 2px;
}
#container .wrapper {
background-color: #fff;
padding: 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment