JSFiddle - React, Tailwind, and code Playground

HTML

<body>

    <video id="sampleVideo" src="sample.mp4" autoplay/></video>


    <img src="enter_site.png" id="sampleImage">

</body>
</html>

CSS

#sampleVideo {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    }

#sampleImage {
    position:absolute;
    height:200px;
    width:200px;
    background:blue;
    z-index: 40;
    }