I have two parents classes that have the same name but one has additional child class. I want to only select a child class from the parent class with that additional child class.
class = money-styling
class = compare-at-price
class = money
class = money-styling
class = money
I want to select money class that has a sibling compare-at-price. Only code I could write was"
.money-styling .money{
color:#ff0000;
}
How do I go about doing that?