Is there a way to create a CSS selector that targets an element with no attributes or class names? I have a scenario where I need to select the second div (which has no classes) from HTML containing multiple nested divs with dynamic class names.
<div class="xeuugli x2lwn1j x1cy8">
<div>
<div class="xeuugli x2lwn1j x1cy8">
<div class="xeuugli x2lwn1j n94">
<div class="x8t9es0 x10d9sdx xo1l8bm xrohj xeuugli">$0,00</div>
</div>
</div>
<div class="xeuugli x2lwn1j x1cy8zghib x19lwn94">
<span class="x8t9es0 xw23nyj xeuugli">Helloworld.</span>
</div>
</div>
</div>
P.S. Simply using div:nth-child(2) won't work in this case.
P.P.S. Can you explain the reason behind utilizing dynamic class names in web development?