Created
June 4, 2012 13:32
-
-
Save gunnarbittersmann/2868404 to your computer and use it in GitHub Desktop.
Rounded corners 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
/** | |
* Rounded corners with box-shadow | |
*/ | |
body | |
{ | |
background: #900; | |
} | |
div | |
{ | |
background: white; | |
border-radius: 10px; | |
box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.3); | |
height: 200px; | |
margin: 50px; | |
width: 400px; | |
} |
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
<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","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