JSFiddle - React, Tailwind, and code Playground

HTML

<input name='t1' type='text'/> /* Is Red */
    <input name='t1'/> /* Is Not Red */

CSS

input[type='text']
    {
    background:red;
    }