File: calc.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 (28 lines) | stat: -rw-r--r-- 616 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
.no-math {
  root: calc(100% - 30px);
  root2: calc(100% - 40px);
  width: calc(50% + (25vh - 20px));
  height: calc(50% + (25vh - 20px));
  min-height: calc(10vh + calc(5vh));
  foo: 3 calc(3 + 4) 11;
  bar: calc(1 + 20%);
}
.b {
  one: calc(100% - 20px);
  two: calc(100% - (10px + 10px));
  three: calc(100% - (3 * 1));
  four: calc(100% - (3 * 1));
  nested: calc(calc(2.25rem + 2px) - 1px * 2);
}
.c {
  height: calc(100% - ((10px * 3) + (10px * 2)));
}
.correctly-exit-calc-mode h2 {
  width: 10px;
}
.correctly-exit-calc-mode div {
  width: calc(100px * 2);
}
.correctly-exit-calc-mode h1 {
  color: white;
}