Skip to content

Instantly share code, notes, and snippets.

@dziudek
Created May 24, 2012 07:53
Show Gist options
  • Save dziudek/2780098 to your computer and use it in GitHub Desktop.
Save dziudek/2780098 to your computer and use it in GitHub Desktop.
Button double border styling without any additional containers.
/**
* Button double border styling without any additional containers.
*/
.btn {
display: inline-block;
background: #aaa;
background-clip: content-box;
border: 2px solid #aaa;
border-radius: 3px;
line-height: 30px;
padding: 2px;
min-width: 100px;
text-align: center;
}
<div class="btn"> Test button </div>
{"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