Tailwind CSS Classes

Tailwind CSS class .auto-cols-max

    <div class="grid grid-flow-col auto-cols-max">
        <div class="p-4 mr-2 bg-teal-400">1</div>
        <div class="p-4 mr-2 bg-teal-400">2</div>
        <div class="p-4 mr-2 bg-teal-400">3</div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Tailwind CSS classes in Grid category

© 2024 Shuffle. All rights reserved.