JSFiddle - React, Tailwind, and code Playground

HTML

<!doctype html>
<html>
    <head>
    </head>
    <body>
        <div class="container">
            <img src="http://ima.gs/transparent/none/36f/transparent-png-200x200.png">
            <div class="clickable"></div>
        </div>
    </body>
</html>

CSS

.container {
    width: 500px;
    height: 500px;
    background-color: #eeeeee;
}
.container img {
    width: 200px;
    height: 200px;
    position: absolute;
   /* pointer-events:none; */
}

.clickable {
    width: 300px;
    height: 200px;
    background-color: salmon;
    cursor: pointer;
}

JavaScript

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