File: namespacing-operations.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 (15 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ns {
  .options() {
    val1: 10px;
  }
}

@ns: {
  @options: {
    val2: 20px;
  }
}

.foo {
  val: #ns.options[val1] + @ns[@options][val2] + 5px;
}