Created
April 9, 2013 14:42
-
-
Save Poltergeist/5346231 to your computer and use it in GitHub Desktop.
rounded border inside
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 border inside | |
*/ | |
.container{ | |
border-radius:7px; | |
margin:5px; | |
padding:15px; | |
background:white; | |
position:relative; | |
} | |
.container:before{ | |
background:lightblue; | |
height:100%; | |
content:''; | |
width:100%; | |
position:absolute; | |
top:-5px; | |
left:-5px; | |
padding:5px; | |
z-index:-1 | |
} |
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 class="container">Rounded Edges</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
// alert('Hello world!'); |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment