Skip to content

Instantly share code, notes, and snippets.

@maxw3st
Forked from LeaVerou/dabblet.css
Created May 24, 2013 15:19
Show Gist options
  • Save maxw3st/5644253 to your computer and use it in GitHub Desktop.
Save maxw3st/5644253 to your computer and use it in GitHub Desktop.
“Body Border, Rounded Inside” without images or extra elements
/**
* “Body Border, Rounded Inside” without images or extra elements
Modified from Lea Verou: http://dabblet.com/gist/5377617 for soft inner edge.
*/
div {
width: 10em;
height: 5em;
padding: 1em;
border-radius: 1em;
margin: 100px;
background: white;
outline: 5px solid #f06;
outline-offset: -moz-calc(-5px); /* fix for FF bug #480888 */
box-shadow:inset 0 0 5px 10px #f06;
resize: both; overflow: hidden;
}
<div>Resize me</div>
// alert('Hello world!');
{"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