JSFiddle - React, Tailwind, and code Playground

by vi161

HTML

<div id="js-search-click"class='a'>
asdfsfsdfsdf
</div>

CSS

.a:active {
  color: red;
}