Commit 035b85ee authored by Bart Teeuwisse's avatar Bart Teeuwisse
Browse files

The native box-shadow, background-clip and background-size instructions all...

The native box-shadow, background-clip and background-size instructions all take 1 or more arguments. In 1.3.0 LESS became arity aware, see https://gist.github.com/1933613. As a result the signatures of these mixins had to change a little.
parent d335adf6
Showing with 13 additions and 13 deletions
+13 -13
......@@ -197,10 +197,10 @@
}
// Drop shadows
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) {
-webkit-box-shadow: @shadow;
-moz-box-shadow: @shadow;
box-shadow: @shadow;
.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25), ...) {
-webkit-box-shadow: @arguments;
-moz-box-shadow: @arguments;
box-shadow: @arguments;
}
// Transitions
......@@ -251,18 +251,18 @@
// Background clipping
// Heads up: FF 3.6 and under need "padding" instead of "padding-box"
.background-clip(@clip) {
-webkit-background-clip: @clip;
-moz-background-clip: @clip;
background-clip: @clip;
.background-clip(@clip, ...) {
-webkit-background-clip: @arguments;
-moz-background-clip: @arguments;
background-clip: @arguments;
}
// Background sizing
.background-size(@size){
-webkit-background-size: @size;
-moz-background-size: @size;
-o-background-size: @size;
background-size: @size;
.background-size(@size, ...){
-webkit-background-size: @arguments;
-moz-background-size: @arguments;
-o-background-size: @arguments;
background-size: @arguments;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment