Can I directly target the element with .div-3
class, even if its parent does not have an id or class?
<div class="wrapper">
<div>
<div>
<div class="div-3">
</div>
</div>
</div>
</div>
I am aware of using
.wrapper > div > div > .div-3
, but is there a way to use something like .wrapper > .div-3
instead?