Files
less.js/test/less/accessors.less
2010-02-23 18:02:00 -05:00

20 lines
319 B
Plaintext

.magic-box {
@trim: orange;
content: "gold";
width: 60cm;
height: 40cm;
#lock {
color: silver;
}
}
#accessors {
content: .magic-box['content']; // "gold"
width: .magic-box['width']; // 60cm
}
.unlock {
.magic-box;
color: #lock['color']; // silver
border-color: .magic-box[@trim]; // orange
}