08-27-周三_17-09-29
This commit is contained in:
53
node_modules/less/test/less-bom/mixins-important.less
generated
vendored
Normal file
53
node_modules/less/test/less-bom/mixins-important.less
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
.submixin(@a) {
|
||||
border-width: @a;
|
||||
}
|
||||
.mixin (9) {
|
||||
border: 9 !important;
|
||||
}
|
||||
.mixin (@a: 0) {
|
||||
border: @a;
|
||||
boxer: @a;
|
||||
.inner {
|
||||
test: @a;
|
||||
}
|
||||
// comment
|
||||
.submixin(@a);
|
||||
}
|
||||
|
||||
.class {
|
||||
.mixin(1);
|
||||
.mixin(2) !important;
|
||||
.mixin(3);
|
||||
.mixin(4) !important;
|
||||
.mixin(5);
|
||||
.mixin !important;
|
||||
.mixin(9);
|
||||
}
|
||||
.size(@aaa: auto) {
|
||||
.set-width(@aaa) {
|
||||
width: @aaa;
|
||||
}
|
||||
.set-width(@aaa);
|
||||
}
|
||||
.when-calling-nested-issue-2394 {
|
||||
.size() !important;
|
||||
}
|
||||
.when-calling-nested-with-param-issue-2394 {
|
||||
.size(10px) !important;
|
||||
}
|
||||
.testMixin-2421 () {
|
||||
.topCheck-2421 () {
|
||||
.nestedCheck-2421() {
|
||||
margin: 5px;
|
||||
}
|
||||
.nestedCheck-2421();
|
||||
}
|
||||
.topCheck-2421();
|
||||
}
|
||||
.class1-2421 {
|
||||
.testMixin-2421() !important;
|
||||
}
|
||||
.class2-2421 {
|
||||
.testMixin-2421();
|
||||
}
|
||||
|
Reference in New Issue
Block a user