I am trying to change the border of a target descendent element with no luck. Using the descendent selector for the following HTML does not work. If anyone has any suggestions on what I may be doing incorrectly I would greatly appreciate any 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>