<div class="flex justify-center my-20">
        <div class="animate-spin h-10 w-10 border-4 border-blue-500 rounded-full" style="border-top-color: transparent"></div>
</div>

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.