JSFiddle - React, Tailwind, and code Playground

HTML

<div class="test">
123
</div>

CSS

.test {
  color: green;
}

JavaScript

$(function(){
	$('body').append('<style>.test {color: red;}</style>');
});