mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
@@ -41,3 +41,15 @@
|
||||
.watermark {
|
||||
family: Univers, Arial, Verdana, San-Serif;
|
||||
}
|
||||
#iterated-interpolation .mixin {
|
||||
width: 100px;
|
||||
weird: 100px;
|
||||
width-str: "100px";
|
||||
weird-str: "100px";
|
||||
}
|
||||
#iterated-interpolation .interpolation-mixin {
|
||||
width: 100px;
|
||||
weird: 100px;
|
||||
width-str: "100px";
|
||||
weird-str: "100px";
|
||||
}
|
||||
|
||||
@@ -55,3 +55,19 @@
|
||||
@family: ~"Univers, @{test}";
|
||||
family: @family;
|
||||
}
|
||||
#iterated-interpolation {
|
||||
@box-small: 10px;
|
||||
@box-large: 100px;
|
||||
|
||||
.mixin { // both ruleset and mixin
|
||||
width: ~"@{box-@{suffix}}";
|
||||
weird: ~"@{box}-@{suffix}}";
|
||||
width-str: "@{box-@{suffix}}";
|
||||
weird-str: "@{box}-@{suffix}}";
|
||||
@box: ~"@{box";
|
||||
@suffix: large;
|
||||
}
|
||||
.interpolation-mixin {
|
||||
.mixin(); //call the above as mixin
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user