Tailwind CSS Classes

Tailwind CSS class .animate-spin

    <span class="inline-block animate-spin rounded-full p-2 bg-teal-400 text-white text-sm">animate-spin
        <svg class="w-6 h-6 mx-auto" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
        </svg>
    </span>

Preview

Check .animate-spin in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Tailwind CSS classes in Animations category

© 2024 Shuffle. All rights reserved.