mirror of
https://github.com/less/less.js.git
synced 2026-01-23 14:18:00 -05:00
.mixin (...) {} // matches any number of arguments
.mixin () {} // matches exactly 0 arguments
.mixin (@a: 1) {} // matches 0-1 arguments
48 lines
487 B
CSS
48 lines
487 B
CSS
.zero {
|
|
variadic: true;
|
|
zero: 0;
|
|
one: 1;
|
|
two: 2;
|
|
three: 3;
|
|
}
|
|
.one {
|
|
variadic: true;
|
|
one: 1;
|
|
one-req: 1;
|
|
two: 2;
|
|
three: 3;
|
|
}
|
|
.two {
|
|
variadic: true;
|
|
two: 2;
|
|
three: 3;
|
|
}
|
|
.three {
|
|
variadic: true;
|
|
three-req: 3;
|
|
three: 3;
|
|
}
|
|
.left {
|
|
left: 1;
|
|
}
|
|
.right {
|
|
right: 1;
|
|
}
|
|
.border-right {
|
|
color: black;
|
|
border-right: 4px;
|
|
}
|
|
.border-left {
|
|
color: black;
|
|
border-left: 4px;
|
|
}
|
|
.only-right {
|
|
right: 33;
|
|
}
|
|
.only-left {
|
|
left: 33;
|
|
}
|
|
.left-right {
|
|
both: 330;
|
|
}
|