Tailwind CSS Classes

Tailwind CSS class .-top-0

    <div class="flex items-center">
        <div class="relative mx-auto bg-gray-200 h-20 w-20">
            <div class="absolute -top-0 left-0 p-4 bg-teal-400 text-sm"></div>
        </div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Tailwind CSS classes in Positioning category

© 2024 Shuffle. All rights reserved.