JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<body>
<div id="splash">
</div>
</body>
CSS
#splash {
z-index: 100;
position: absolute;
background-color: #82a43a;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
body {
background-color: red;
}
JavaScript
$("#splash").click(function() {
$(this).fadeOut();
});