for example I have a div like :
<div class="red yellow"><div>
and my css:
.red{background-color:red;}
.yellow{background-color:yellow;}
and how can I make my div's background-color becomes to orange when it has .red and .yellow class at the same time? I think the similar way is like:
.red .yellow{background-color:orange;}
I know it's not the right way , but how can I archive my requirement?