So I have a box:
<div class="box">Box</div>
And sometimes this box may be wrapped in an a tag:
<a href="#"><div class="box">Box in an A tag</div></a>
Is there a way in LESS to specifically target A tags that are parents of .box
?
e.g.
a {
color: red;
}
a [that is a parent of .box] {
color: blue;
}