Can i select somehow a group of elements if a class of the parent changes. Like in these example.
The parent class can be alertStateTrue or alertStateFalse.

```
<div id="parent" class="alertStateTrue">
   <div class="childAlertStateTrue"></div>
   <div class="childAlertStateTrue"></div>
   <div class="childAlertStateFalse"></div>
   <div class="childAlertStateFalse"></div>
</div>

.alertStateTrue .childAlertStateTrue
{
   display: block;
}

.alertStateTrue .childAlertStateFalse
{
   display: none;
}

.alertStateFalse .childAlertStateTrue
{
   display: none;
}

.alertStateFalse .childAlertStateFalse
{
   display: block;
}

```