Tailwind CSS Progressbars - Badge and multiple completion by Creative Tim
by CreativeTim
HTML
<link rel="stylesheet" href="https://gitcdn.link/cdn/creativetimofficial/public-assets/master/tailwind-starter-kit/jsfiddle-style.css">
<div class="p-4">
<h1 class="font-semibold mt-8 mb-8 text-3xl" id="title">Progressbars - Badge and multiple completion</h1>
<!-- start snippet -->
<div class="relative pt-1">
<div class="flex mb-2 items-center justify-between">
<div><span class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-amber-600 bg-amber-200">Task in progress</span></div>
<div class="text-right"><span class="text-xs font-semibold inline-block text-amber-600">50%</span></div>
</div>
<div class="overflow-hidden h-2 mb-4 text-xs flex rounded bg-amber-200">
<div class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-red-500" style="width:10%"></div>
<div class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-orange-500" style="width:15%"></div>
<div class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-amber-500" style="width:25%"></div>
</div>
</div>
<!-- end snippet -->
<footer class="relative bg-gray-200 pt-8 pb-6 mt-8">
<div class="container mx-auto px-4">
<div class="flex flex-wrap items-center md:justify-between justify-center">
<div class="w-full md:w-6/12 px-4 mx-auto text-center">
<div class="text-sm text-blueGray-500 font-semibold py-1">
Made with <a href="https://www.creative-tim.com/learning-lab/tailwind-starter-kit/presentation?ref=ct-tsk-jsfiddle" class="text-blueGray-500 hover:text-gray-800" target="_blank">Tailwind Starter Kit</a> by <a href="https://www.creative-tim.com" class="text-blueGray-500 hover:text-blueGray-800" target="_blank"> Creative Tim</a>.
</div>
</div>
</div>
</div>
</footer>
</div>