JSFiddle - React, Tailwind, and code Playground

by keeto

HTML

<textarea></textarea>
<input type=text />

CSS

.wrap {
    background: red
}

JavaScript

$$('textarea, input').each(function(el){
    new Element('div.wrap').wraps(el);
});