Skip to content

Instantly share code, notes, and snippets.

@loai-kanou
Forked from LeaVerou/dabblet.css
Created August 5, 2013 03:51
Show Gist options
  • Save loai-kanou/6153389 to your computer and use it in GitHub Desktop.
Save loai-kanou/6153389 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