File: mixins-important.less

package info (click to toggle)
less.js 1.6.3~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,220 kB
  • ctags: 1,015
  • sloc: sh: 122; makefile: 63; perl: 11
file content (25 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.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);
}