Skip to content

Instantly share code, notes, and snippets.

@brendandixon
Created January 27, 2013 20:20
Show Gist options
  • Save brendandixon/4650236 to your computer and use it in GitHub Desktop.
Save brendandixon/4650236 to your computer and use it in GitHub Desktop.
Flat button styles for Twitter Bootstrap - conveniently borrowed from https://github.com/twitter/bootstrap/issues/1341
// For IE
.btn-inverse:active,
.btn-inverse.active {
background-color: #080808 \9;
}
// Add 'btn-flat' to your buttons
.btn-flat {
filter:progid:DXImageTransform.Microsoft.Gradient(enabled='false');
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background-image:none;
border:0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment