JSFiddle - React, Tailwind, and code Playground

HTML

<!doctype html>
<html>
    <head>
    </head>
    <body>
        <div class="container">
            <div class="overlay"></div>
            <div class="clickable"></div>
        </div>
    </body>
</html>

CSS

.container {
    width: 500px;
    height: 500px;
    background: #eeeeee;
}
.overlay {
    background: url(http://ima.gs/transparent/none/36f/transparent-png-200x200.png) no-repeat;
    width: 200px;
    height: 200px;
    position: absolute;
}
.clickable {
    width: 300px;
    height: 200px;
    background-color: salmon;
    cursor: pointer;
}

JavaScript

$(function(){
    $('.clickable').click(function(){
        alert('clicked!');
    });
});