Skip to content

Instantly share code, notes, and snippets.

@Pafuxu
Created April 4, 2009 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pafuxu/90195 to your computer and use it in GitHub Desktop.
Save Pafuxu/90195 to your computer and use it in GitHub Desktop.
.gradation-box {
background: -webkit-gradient(linear, left top, left bottom, from(white), color-stop(0.1, white), to(rgb(205, 221, 241)));
-webkit-border-radius: 4px;
-webkit-box-shadow: rgba(0, 0, 0, 0.496094) 0px 3px 5px;
border: 1px solid rgb(204, 204, 204);
display: block;
margin: 0px 5px 5px 5px;
padding: 10px;
text-shadow: white 0px 1px 0px;
vertical-align: top;
}
.gradation-box > *:not([class="reflect"]) {
margin-left: 80px;
}
.reflect {
-webkit-border-radius: 4px;
-webkit-box-reflect:below 1px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.5, transparent), to(white));
float: left;
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment