<div class="red">
  aaa
</div>

<div class="blue">
  aaa
</div>
$red: 0;
$blue: 1;

div.red {
  @if $red == 1 {
    color: white;
    background-color: blue;
  }
}

div.blue {
  @if $blue == 1 {
    color: white;
    background-color: blue;
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.