Skip to content

Instantly share code, notes, and snippets.

@hermpheus
Created April 28, 2012 22:13
Show Gist options
  • Save hermpheus/2522408 to your computer and use it in GitHub Desktop.
Save hermpheus/2522408 to your computer and use it in GitHub Desktop.
CSS: CSS3 Toolkit
.long-box-shadow {
box-shadow: 0 4px 4px rgba(0,0,0,0.3);
}
.small-box-shadow {
box-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.small-text-shadow {
text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}
.grey-gradient {
background-color: #eeeae2;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(238, 234, 226)), to(rgb(208, 201, 185)));
background-image: -webkit-linear-gradient(top, rgb(238, 234, 226), rgb(208, 201, 185));
background-image: -moz-linear-gradient(top, rgb(238, 234, 226), rgb(208, 201, 185));
background-image: -o-linear-gradient(top, rgb(238, 234, 226), rgb(208, 201, 185));
background-image: -ms-linear-gradient(top, rgb(238, 234, 226), rgb(208, 201, 185));
background-image: linear-gradient(top, rgb(238, 234, 226), rgb(208, 201, 185));
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#eeeae2', EndColorStr='#d0c9b9');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment