JSFiddle - React, Tailwind, and code Playground
HTML
<div id="test">click me</div>
<div>color change</div>
JavaScript
$("#test").click(function () {
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
console.log(is_chrome);
if(is_chrome) {
var that = this;
window.setTimeout(function() {
$(that).next().css({'color':'red'});
}, 1000);
}
});