Created
April 13, 2012 23:27
-
-
Save cleitonfco/2380923 to your computer and use it in GitHub Desktop.
Circles (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
| /** | |
| * Circles (Box Shadow) | |
| */ | |
| body { | |
| font:18px/1.3 "Helvetica Neue", sans-serif; | |
| } | |
| p { | |
| clear:both; | |
| margin: 50px 0; | |
| } | |
| div { | |
| width:150px; | |
| display:inline-block; | |
| height:150px; | |
| border-radius:75px; | |
| margin:20px 50px; | |
| } | |
| #circle1 { | |
| background-color:#86c100; | |
| box-shadow:0 40px 15px -15px rgba(0, 0, 0, 0.2), inset 0 -50px 20px -20px rgba(0, 0, 0, 0.2); | |
| } | |
| #circle2 { | |
| background-color:#96d110; | |
| box-shadow:15px 30px 20px -10px rgba(0, 0, 0, 0.4), inset -20px -40px 40px 30px rgba(0, 0, 0, 0.4); | |
| } | |
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 id="circle1"></div> | |
| <div id="circle2"></div> | |
| <p>Mais exemplos de <a href="http://viget.com/inspire/39-ridiculous-things-to-do-with-css3-box-shadows">Box Shadow</a></p> |
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":"separate","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment