first import
This commit is contained in:
40
sites/all/libraries/lessphp/tests/inputs/scopes.less
Normal file
40
sites/all/libraries/lessphp/tests/inputs/scopes.less
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user