Skip to content

Instantly share code, notes, and snippets.

@jeffjohnson
Created March 13, 2013 12:47
Show Gist options
  • Save jeffjohnson/5151743 to your computer and use it in GitHub Desktop.
Save jeffjohnson/5151743 to your computer and use it in GitHub Desktop.
How to add a flat button to Twitter Bootstrap v2.x
.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;
}
@jeffjohnson
Copy link
Author

I added it AFTER the following IE hack lines:

.btn-inverse:active,
.btn-inverse.active {
background-color: #080808 \9;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment