I'm looking for a css selector to select the inner div using the outerDivs class and data attribute. As I only want to be able to select the inner div if the data is set to true is this possible ?
<div class="outerDiv" data-Outer="true">
<div class="inner"> </div>
</div>
.outerDiv[data-Outer="true"] > .inner
should do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With