File: basic.less

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 (27 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (6)
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
@var: black;

.a() {
  color: red;
}

.b {
  color: green;
  .a();
  color: blue;
  background: @var;
}

.a, .b {
  background: green;
  .c, .d {
    background: gray;
    & + & {
      color: red;
    }
  }
}

.extend:extend(.a all) {
  color: pink;
}
@import (inline) "imported.css";