JSFiddle - React, Tailwind, and code Playground
HTML
<div id="backgroundPic">
<input type="button">
</div>
<div id="backgroundPic">
<div id="button"></div>
</div>
CSS
#backgroundPic{
background:url('http://graphichive.net/uploaded/fordesigner/1313322721.jpg');
width:256px;
height:256px;
}
#backgroundPic input, #button{
width:256px;
height:256px;
background:transparent;
}
JavaScript
$('input,#button').click(function(){
alert("Clicked!");
});