I need to style an element that has both class "a" and class "b". How do I do it?
The order the classes appear in the html might vary.
<style>
div.a ? div.b{
color:#f00;
}
</style>
<div class="a">text not red</div>
<div class="b">text not red</div>
<div class="a b">red text</div>
<div class="b a">red text</div>