Tailwind CSS Classes

Tailwind CSS class .place-content-between

<div class="grid grid-cols-3 gap-2 place-content-between h-40 p-2 bg-gray-200 max-w-md">
        <div class="bg-teal-400 p-4">1</div>
        <div class="bg-teal-400 p-4">2</div>
        <div class="bg-teal-400 p-4">3</div>
        <div class="bg-teal-400 p-4">4</div>
        <div class="bg-teal-400 p-4">5</div>
        <div class="bg-teal-400 p-4">6</div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Tailwind CSS classes in Grid category

© 2024 Shuffle. All rights reserved.