JSFiddle - React, Tailwind, and code Playground
HTML
<div id="scale">
200 -<br />
.<br />
.<br />
.<br />
175 -<br />
.<br />
.<br />
.<br />
150 -<br />
.<br />
.<br />
.<br />
125 -<br />
.<br />
.<br />
.<br />
100 -<br />
.<br />
.<br />
.<br />
75 -<br />
.<br />
.<br />
.<br />
50 -<br />
<div>
<div id="outer">
<div>
</div>
</div>
CSS
#scale {
width: 30px;
font-size: 0.6em;
text-align: right;
}
#outer {
position: absolute;
left: 42px;
top: 10px;
width: 50px;
height: 300px;
background: -webkit-gradient(linear, left top, left bottom, from(#0f0), to(#fa0));
}
#outer > div {
position: absolute;
left: 5%;
bottom: 0px;
width: 90%;
height: 90%;
background-color: blue;
}