JSFiddle - React, Tailwind, and code Playground

by loktar

HTML

<form>
    <input type='text'/>
     <input type='text'/>
</form>
<input type='text'/>

CSS

.test{
 background:red;   
}

JavaScript

$('input:not(form input)').addClass('test');