I am struggling to modify the border of a specific descendant element and so far I have not been successful. Despite using the correct descendant selector in the HTML below, the style change is not taking effect. If anyone has any insights on what could be causing this issue, I would greatly appreciate your input.
.parent .target {
border: solid red;
}
<div class="parent">
<div class="child">
<div class="grandchild">
<div class="target"></div>
<div class="great-grandchild"></div>
</div>
</div>
</div>