Toggle navigation
☰
HTML
CSS
Scripting
Database
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tailwind CSS Card With Image</title> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.2.1"></script> </head> <body class="bg-gray-50 flex items-center justify-center min-h-screen p-6 antialiased"> <div class="w-full max-w-sm bg-white rounded-[2.5rem] shadow-2xl overflow-hidden border border-white"> <div class="h-56 w-full bg-slate-200 relative"> <img src="https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=800" alt="Card Visual" class="w-full h-full object-cover"> <div class="absolute inset-0 bg-linear-to-t from-black/20 to-transparent"></div> </div> <div class="p-8"> <h3 class="text-2xl font-black text-slate-900 tracking-tighter mb-3 italic">Visual Core.</h3> <p class="text-slate-500 font-bold text-sm leading-relaxed mb-6 italic">High-fidelity imagery paired with surgical typography for impactful content delivery.</p> <button class="text-[10px] font-black text-indigo-600 uppercase tracking-widest hover:underline underline-offset-4">Explore Manifest</button> </div> </div> </body> </html>