Skip to content

Instantly share code, notes, and snippets.

@warrenparsons
warrenparsons / grad-buttons.less
Last active December 23, 2015 13:19 — forked from claviska/pretty-buttons.less
This is a work in progress. I needed to reenable gradient buttons in Bootstrap 3 for a project.
// Gradient Buttons
// -------------------------
// Re-enable gradients for Bootstrap 3 buttons
.grad-button(@color, @grad-start, @grad-end, @text-shadow: none) {
color: @color;
#gradient > .vertical(@grad-start, @grad-end, 0%, 100%);
text-shadow: @text-shadow;
.box-shadow(inset 0 1px 0 rgba(255, 255, 255, .1));