JSFiddle - React, Tailwind, and code Playground
HTML
<div class="background">
<p></p>
<button id="button">Some Button Text</button>
</div>
CSS
.background {
width:400px;
height:60px;
position: relative;
background: #000;
color: white;
}
#button {
position:absolute;
top:0px;
left:0;
background: transparent;
border: none !important;
width:170px;
color:white;
}
JavaScript
$('#button').click(function () {
alert('I am clickable');
});