Skip to content

Instantly share code, notes, and snippets.

@trumball
Created May 24, 2013 17:00
Show Gist options
  • Save trumball/5644929 to your computer and use it in GitHub Desktop.
Save trumball/5644929 to your computer and use it in GitHub Desktop.
Outer CSS3 Box Shadow In relation to the inner CSS3 shadows I also want to present an outer shadow code snippet. Note the 3rd number in our syntax represents blur distance while the 4th number represents the spread.
#mydiv {
-webkit-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.52);
-moz-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.52);
box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.52);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment