Skip to content

Instantly share code, notes, and snippets.

@gregstewart
Created February 22, 2013 11:52
Show Gist options
  • Save gregstewart/5012945 to your computer and use it in GitHub Desktop.
Save gregstewart/5012945 to your computer and use it in GitHub Desktop.
Basic css button with an exterior and interior rounded border
.button {
display: inline-block;
@include border-radius(1.5em);
padding: 0.25em 2em;
margin: 0.25em 0;
font: {
weight: normal;
size: 100%;
family: $brand-face-bold;
}
text-align: center;
min-width: 133px;
position: relative;
}
.button-branded {
background-color: $brand-color;
color: $light-color;
border: 1px solid rgb(88, 89, 91);
&:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 96.75%;
height: 82.5%;
border: 2px solid white;
border-radius: 1.5em;
margin: 1px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment