JSFiddle - React, Tailwind, and code Playground
HTML
<div>
inside
<input type="text" />
inside
</div>
CSS
div
{
color: red;
}
JavaScript
$("<label />").text("Label").insertAfter(
$("input").parent()
);
<div>
inside
<input type="text" />
inside
</div>
div
{
color: red;
}
$("<label />").text("Label").insertAfter(
$("input").parent()
);