on-internet
← Community

Creating a Bootstrap-like grid system in TailwindCSS

Stack Overflow ·

I am using Tailwind with the Blade template in Laravel. How can I create cards like in Bootstrap, where there are three items per row? @section('content') <div class="flex justify-center"> <div class="w-8/12 bg-white p-6 rounded-lg mt-10"> @forelse($products as $product) <!-- Box --> <div class="md:flex md:justify-center md:space-x-8 md:px-14"> <!-- box-1 --> <div class="mt-16 py-4 px-4 w-72 bg-white rounded-xl shadow-lg hover:shadow-xl transform hover:scale-110 transition duration-500 mx-auto md:mx-0"> <div class="w-sm"> <img class="w-64" src="{{ asset('storage/images/products/' . $product->i

Comments

Sign in or sign up to comment and upvote.

No comments yet.