Code:
<div class="container">
<div class="left">
<div class="left-con">
<div class="hidden-scroll">
<div class="personal">
<img src="./images/person.png" alt="">
</div>
</div>
</div>
</div>
</div>
question:
find personal, through the selector. If there is only one class in the world, personal, would it be better to have .personal {}?
does this kind of writing seem cumbersome?
.left. Left-con. Hidden-scroll. Personal {
XXX
}
which way is better in terms of css selector performance and post-maintenance?