Created
March 9, 2012 19:12
-
-
Save schadeck/2008149 to your computer and use it in GitHub Desktop.
Playing with 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
/** | |
* Playing with box-shadow | |
*/ | |
div { | |
width: 300px; | |
height: 300px; | |
margin: 50px auto; | |
border: 5px solid #ccc; | |
box-shadow: #666 0px 0px 50px 0px inset, #999 1px 1px 0px 0px, #999 2px 2px 0px 0px, #999 3px 3px 0px 0px, #999 4px 4px 0px 0px, #999 5px 5px 0px 0px, #999 6px 6px 10px 0px; | |
background: #ccc url(http://placehold.it/300&text=+FPO); | |
border-radius: 10px; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div></div> |
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
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment