JSFiddle - React, Tailwind, and code Playground
HTML
<button>
Click me
</button>
<div id="el" tabindex="0">
</div>
CSS
#el {
outline: 5px solid blue;
background-color: red;
height: 50px;
width: 50px;
clip-path: circle(40%);
}
JavaScript
document.getElementById('el').onclick = () => alert('click');