JSFiddle - React, Tailwind, and code Playground
by Madmartigan
HTML
<div class='first'>A</div>
<div>B</div>
<div>C</div>
<div>D</div>
<div>E</div>
CSS
div {
color: red;
}
div.first {
color: inherit;/* or whatever color you want*/
}
by Madmartigan
<div class='first'>A</div>
<div>B</div>
<div>C</div>
<div>D</div>
<div>E</div>
div {
color: red;
}
div.first {
color: inherit;/* or whatever color you want*/
}