Skip to content

Instantly share code, notes, and snippets.

@douglasback
Created October 12, 2011 21:26
Show Gist options
  • Save douglasback/1282685 to your computer and use it in GitHub Desktop.
Save douglasback/1282685 to your computer and use it in GitHub Desktop.
Smoother submit buttons. No more ugly borders.
.your-button-selector {
border: 0;
color: #fff;
background: #007da6;
-webkit-box-shadow: -1px -1px 5px #003b5a inset, 1px 1px 4px #d3e7f2 inset;
-moz-box-shadow: -1px -1px 5px #003b5a inset, 1px 1px 4px #6ec0f7 inset;
-ms-box-shadow: -1px -1px 5px #003b5a inset, 1px 1px 4px #6ec0f7 inset;
-o-box-shadow: -1px -1px 5px #003b5a inset, 1px 1px 4px #6ec0f7 inset;
box-shadow: -1px -1px 5px #003b5a inset, 1px 1px 4px #d3e7f2 inset;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment