Created
March 15, 2012 10:49
-
-
Save machal/2043600 to your computer and use it in GitHub Desktop.
Dabblet: CSS - multiple box-shadows
This file contains hidden or 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
| /** | |
| * Dabblet: CSS - multiple box-shadows | |
| */ | |
| .box { | |
| box-shadow: -5px -5px rgb(128,128,128), -10px -10px rgb(0,0,0), -15px -15px 10px rgba(0,0,0,.25); | |
| width: 200px; | |
| padding: 1em; | |
| margin: 5em; | |
| background: white; | |
| } | |
| body { | |
| background: lightgrey; | |
| font-family: sans-serif; | |
| } |
This file contains hidden or 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 class="box"> | |
| Box with multiple box-shadow instances. | |
| </div> |
This file contains hidden or 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","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment