]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
The native box-shadow, background-clip and background-size instructions all take... 2775/head
authorBart Teeuwisse <bart@twitter.com>
Fri, 23 Mar 2012 19:37:40 +0000 (12:37 -0700)
committerBart Teeuwisse <bart@twitter.com>
Fri, 23 Mar 2012 19:37:40 +0000 (12:37 -0700)
less/mixins.less

index 0074e89241024bf684c945bd5dee93295c207877..48d722a804497fc7122ec46c1ffe4b902f0d4c29 100644 (file)
 }
 
 // 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
 
 // 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;
 }