Tailwind CSS Classes

Tailwind CSS class .-space-y-px

    <div class="flex flex-col -space-y-px h-40">
        <div class="p-4 bg-teal-400 h-10 w-24 text-sm">1</div>
        <div class="p-4 bg-yellow-400 h-10 w-20 text-sm">2</div>
        <div class="p-4 bg-purple-400 h-10 w-12 text-sm">3</div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Tailwind CSS classes in Positioning category

© 2024 Shuffle. All rights reserved.