Skip to content

Instantly share code, notes, and snippets.

@Poltergeist
Created April 9, 2013 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Poltergeist/5346231 to your computer and use it in GitHub Desktop.
Save Poltergeist/5346231 to your computer and use it in GitHub Desktop.
rounded border inside
/**
* 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
}
<div class="container">Rounded Edges</div>
// alert('Hello world!');
{"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