Skip to content

Instantly share code, notes, and snippets.

@maxw3st
Forked from LeaVerou/dabblet.css
Created December 4, 2012 16:14
Show Gist options
  • Save maxw3st/4205677 to your computer and use it in GitHub Desktop.
Save maxw3st/4205677 to your computer and use it in GitHub Desktop.
Inner border-radius example
/**
* Inner border-radius example
*/
body, div { border: 1px solid; }
body { width: 100px; border-radius: 20px; }
div { margin: 10px; padding: 10px; }
div:first-child { border-radius: 10px 10px 0 0; }
div + div { border-radius: 0 0 10px 10px; }
<div> foo </div>
<div> bar </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