JSFiddle - React, Tailwind, and code Playground
HTML
<div class="bar">
Progress: 60%
</div>
CSS
.bar {
border: 1px solid black;
color: white;
display: table-cell;
width: 250px;
text-align: center;
vertical-align: middle;
height: 50px;
background: #003458;
background: -moz-linear-gradient(top, #003458 0%, #001727 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#003458), color-stop(100%,#001727));
background: -webkit-linear-gradient(top, #003458 0%,#001727 100%);
background: -o-linear-gradient(top, #003458 0%,#001727 100%);
background: -ms-linear-gradient(top, #003458 0%,#001727 100%);
background: linear-gradient(to bottom, #003458 0%,#001727 100%);
}