Is there any way I can reference the element within a nest of one of it's children?
I have the following:
div.chem_stage {
position: relative;
html.no-canvas {
display: none;
}
}
Of course this doesn't work, is there a method using LESS to allow me to do this? I could do
html.no-canvas {
.chem_stage {
}
.another_element {
}
etc...
}
But I have lots of elements I need to apply this rule to and I'd rather keep my rules in situ
Edit:
Using ScottS's techqniue, it doesn't seem to mix with @media queries
div.chem_stage {
html.no-canvas &, @media only screen and (max-width : @respChem) {
produces
html.no-canvas div.chem_stage,
div.chem_stage $media only screen and (max-width : @respChem) {