pepebe
8/28/2011 - 10:35 AM

.box_lgradient (linear gradient snippet for Komodo Edit)

.box_lgradient (linear gradient snippet for Komodo Edit)

.box_lgradient {
  background-color: #[[%ask1:from:444444]];
  background-image: -webkit-gradient(linear, left top, left bottom, from(#[[%ask1]]), to(#[[%ask2:to:999999]])); /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* Chrome 10+, Saf5.1+ */
  background-image:    -moz-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* FF3.6 */
  background-image:     -ms-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* IE10 */
  background-image:      -o-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* Opera 11.10+ */
  background-image:         linear-gradient(top, #[[%ask1]], #[[%ask2]]);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#[[%ask1]]', EndColorStr='#[[%ask2]]'); /* IE6–IE9 */
}