Created
January 21, 2014 20:09
-
-
Save exarcheia-web/8547438 to your computer and use it in GitHub Desktop.
Sky and cloud with box shadow
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
| /* Sky and cloud with box shadow */ | |
| body { | |
| background: skyblue; | |
| } | |
| .cloud { | |
| width: 200px; | |
| height: 100px; | |
| background: white; | |
| margin: 60px auto; | |
| border-radius: 50%; | |
| box-shadow: | |
| 40px 20px 0 -20px white, | |
| 40px 25px 10px -20px gray, | |
| -120px 20px 0 5px white, | |
| -120px 25px 18px 2px gray, | |
| -140px -20px 0 10px white, | |
| -140px -15px 18px 10px gray; | |
| } |
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
| <div class="cloud"></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
| // alert('Hello world!'); |
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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment