JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<div id="loader-progress" style="background-color: green;">
teste
</div>

JavaScript

$(document).ready(function(){
    setTimeout(function(){
			var count = 0;
      var idIntervalo =  setInterval(function(){
    						if(count == 105){ clearInterval(idIntervalo); }
                $("#loader-progress").css("width", count + "%");
								count++;
			}, 100);
    },2000);
});