Tailwind CSS Classes

Tailwind CSS class .row-span-full

    <div class="grid grid-rows-3 grid-flow-col gap-2 max-w-md bg-gray-200 p-2">
        <div class="row-span-full bg-teal-400 p-4">1</div>
        <div class="row-span-auto bg-purple-400 p-4">2</div>
        <div class="row-span-auto bg-purple-400 p-4">3</div>
    </div>

Preview

Are you tired of writing HTML by hand?

More Tailwind CSS classes in Grid category

© 2024 Shuffle. All rights reserved.