JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container">
A text outside any tag<br/>
<input type="button" id="iii" value="xxx"/>
Another text<br/>
<a href="#">A link</a>
</div>
CSS
#container {
border: 1px solid red;
}
JavaScript
$("#container, #container *:not(#iii)").css("color", "transparent")