JSFiddle - React, Tailwind, and code Playground
HTML
<div class="class1">
<input type="radio" value="random1" />
<label class="radio-lbl ui-state-active" for="random1">Label</label>
<input type="radio" value="random2" />
<label class="radio-lbl" for="random2">Label</label>
<input type="radio" value="random3" />
<label class="radio-lbl" for="random2">Label</label>
</div>
<div class="class1">
<label for=""></label>
<label for=""></label>
<label for=""></label>
<label for=""></label>
</div>
<div class="class1">
<label for=""></label>
<label for=""></label>
<label for=""></label>
<label for=""></label>
<label for=""></label>
</div>
CSS
div {
outline: solid 1px red;
padding: 3px;
}
label {
display: block;
width: 5em;
height: 1em;
outline: solid 1px gray;
margin: 5px;
}
JavaScript
jQuery('.class1').find('label:eq(1)').css('background', 'orange')