JSFiddle - React, Tailwind, and code Playground

HTML

<img src="http://fc06.deviantart.net/fs50/f/2009/325/9/e/Super_Mario_Bros__Background_by_Hyp64.png" id="background"/>
<div id="blockpx"></div>
<div id="blockpercentage"></div>

CSS

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

#background {
    height: 100%;
    position: absolute;
    z-index: 0;
    background: url('');
}

#blockpx {
    position: absolute;
    left: 148px;
    bottom: 146px;
    height: 14px;
    width: 54px;
    background-color: black;
}

#blockpercentage {
    position: absolute;
    left: 25.6%;
    bottom: 28%;
    height: 3.2%;
    width: 10%;
    background-color: red;
}