JSFiddle - React, Tailwind, and code Playground
by lottikarotti
HTML
<!-- 1.html //-->
<div class="A">
<button id="rot" type="button">Rot</button>
</div>
<!-- 2.html //-->
<div class="B">
<button id="rot" type="button">Blau</button>
</div>
CSS
.A #rot {
background-color: red ;
}
.B #rot {
background-color: lightblue ;
}