File: functions-each.css

package info (click to toggle)
less.js 3.13.0%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,020 kB
  • sloc: javascript: 23,275; makefile: 12; perl: 11; sh: 6
file content (92 lines) | stat: -rw-r--r-- 985 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.sel-blue {
  a: b;
}
.sel-green {
  a: b;
}
.sel-red {
  a: b;
}
.each {
  index: 1, 2, 3, 4;
  item1: a;
  item2: b;
  item3: c;
  item4: d;
  nest-1-1: 10px 1;
  nest-2-1: 15px 2;
  nest-1-2: 20px 1;
  nest-2-2: 25px 2;
  padding: 10px 20px 30px 40px;
}
.each .nest-anon {
  nest-1-1: a c;
  nest-1-2: a d;
  nest-2-1: b c;
  nest-2-2: b d;
}
.set {
  one: blue;
  two: green;
  three: red;
}
.set-2 {
  one-1: blue;
  two-2: green;
  three-3: red;
}
.single {
  val: true;
  val2: 2;
  val3: 4;
}
.column-list {
  list: 1 2 3 4;
}
.col-1 {
  width: 25%;
}
.col-2 {
  width: 25%;
}
.col-3 {
  width: 25%;
}
.col-4 {
  width: 25%;
}
.row-1 {
  width: 10px;
}
.row-2 {
  width: 20px;
}
.row-3 {
  width: 30px;
}
.box {
  -less-log: a;
  -less-log: b;
  -less-log: c;
  -less-log: d;
}
.test-rule {
  color: blue;
  color: red;
}
.foo {
  content: red;
}
.bar {
  content: blue;
}
span {
  content: 'foo';
  content: 'bar';
}
div {
  content: 'foo';
}
.a .w-1 {
  width: 90 100 110;
}