aboutsummaryrefslogtreecommitdiff
path: root/mod/less/vendors/lessphp/tests/inputs/scopes.less
blob: 0ddbfac2061903d01904e150c167a5051788d1dc (plain)
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
@a: 10;
@some {
	@b: @a + 10;
	div {
		@c: @b + 10;
		other {
			@d: @c + 10;
			world {
				@e: @d + 10;
				height: @e;
			}
		}
	}
}


body {
	@some;
}

@some;

.test(@x: 10) {
	height: @x;	
	.test(@y: 11) {
		height: @y;	
		.test(@z: 12) {
			height: @z;	
		}
		.test;
	}
	.test;
}

pre {
	.test;
}