V: lessphp v0.3.4-2
Using this:
@topDarkGrey: #6e6c74;
@bottomDarkGrey: #5d5b64;
.gradient (@startColor: #eee, @endColor: white) {
background-color: @startColor;
background: -webkit-gradient(linear, left top, left bottom, from(@startColor), to(@endColor));
background: -webkit-linear-gradient(top, @startColor, @endColor);
background: -moz-linear-gradient(top, @startColor, @endColor);
background: -ms-linear-gradient(top, @startColor, @endColor);
background: -o-linear-gradient(top, @startColor, @endColor);
}
background: .gradient(@topDarkGrey, @bottomDarkGrey);
I receive:
lessphp fatal error: parse error: failed at `background: .gradient(@topDarkGrey, @bottomDarkGrey);
Anyone see any problems with this?
Yes, this:
Should be this: