CSS Selectors

by floyd_may

HTML

<div class="A B">Make this green</div>
<div class="A">but not this</div>
<div class="B">or this</div>

CSS

.A{
  background-color:red;
}
.B{
  background-color:blue;
}

/* you're only allowed to add a SINGLE CSS RULE here */