Created
October 2, 2013 15:23
-
-
Save dannycallaghan/6795487 to your computer and use it in GitHub Desktop.
Examples taken from http://www.css3.info/preview/box-shadow/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 5px shadow in every distance, with blur of 5 and spread of 6 */ | |
.foo { | |
-moz-box-shadow: -5px -5px 5px 6px #888; | |
-webkit-box-shadow: -5px -5px 5px 6px#888; | |
box-shadow: -5px -5px 5px 6px #888; | |
} | |
/* 5px inner shadow in every distance */ | |
.bar { | |
-moz-box-shadow: inset 0 0 5px 5px #888; | |
-webkit-box-shadow: inset 0 0 5px 5px#888; | |
box-shadow: inset 0 0 5px 5px #888; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment