Skip to content

Instantly share code, notes, and snippets.

@travismillerweb
Created July 30, 2012 17:47
Show Gist options
  • Save travismillerweb/3208654 to your computer and use it in GitHub Desktop.
Save travismillerweb/3208654 to your computer and use it in GitHub Desktop.
CSS - Box Shadows
/*All Around*/
.all-around
{
-moz-box-shadow: 0 2px 4px 2px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 2px 4px 2px rgba(0,0,0,0.2);
box-shadow: 0 2px 4px 2px rgba(0,0,0,0.2);
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#5f5f5f')";
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#5f5f5f');
}
/*Bottom Floating*/
.bottom-floating
{
-webkit-box-shadow: 0 8px 6px -6px black;
-moz-box-shadow: 0 8px 6px -6px black;
box-shadow: 0 8px 6px -6px black;
}
#header h1 a
{
color:#fff!important;
text-shadow:0 1px 0 #ccc,0 2px 0 #c9c9c9,0 3px 0 #bbb,0 4px 0 #b9b9b9,0 5px 0 #aaa,0 6px 1px rgba(0,0,0,.1),0 0 5px rgba(0,0,0,.1),0 1px 3px rgba(0,0,0,.3),0 3px 5px rgba(0,0,0,.2),0 5px 10px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.2),0 20px 20px rgba(0,0,0,.15);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment