twitter/bootstrap — Issue #2202: Custom gradient mixin
Author: Anahkiasen
Created: 2012-02-23 14:16:14+00:00
State: open

Hi,
Is there a chance the following mixin might be added to the defaults, to allow for [more complex gradients](http://lea.verou.me/css3patterns/) :

.custom(@gradient, @fallback)
{
background: @fallback;
background-image: -moz-linear-gradient(@gradient); // FF 3.6+
background-image: -ms-linear-gradient(@gradient); // IE10
background-image: -webkit-linear-gradient(@gradient); // Safari 5.1+, Chrome 10+
background-image: -o-linear-gradient(@gradient); // Opera 11.10
background-image: linear-gradient(@gradient); // Le standard
}