I'm new to LESS. Is there a way to get the parent height and width? I'm trying to set something to be a percentage of the parent. For instance:
fictitious pseudo code because I have no idea what I'm doing
@myheight: parent.height / 4;
@mywidth: parent.width / 4;
.myRelObject {
height: @myheight
width: @mywidth
}
The closest I found was this SO question, so if someone can just tell me if/how to get parent height/width I can probably get it from there.