JSFiddle - React, Tailwind, and code Playground

by prozoroff

HTML

<div class="outer">

<div class="inner">

<input type=button value=Button>

</div>

</div>

CSS

.inner input[type='button'] {
  color: blue;
}

.outer input[type='button'] {
  color: red;
}