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 Hover Effect</title> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.2.1"></script> </head> <body class="bg-slate-900 flex items-center justify-center min-h-screen p-6 antialiased"> <div class="w-full max-w-sm group cursor-pointer perspective-1000"> <div class="bg-white/5 backdrop-blur-xl rounded-[3rem] p-12 border border-white/10 relative transition-all duration-700 hover:bg-white/10 hover:scale-105 hover:-rotate-y-6 hover:shadow-[0_40px_100px_-15px_rgba(0,0,0,0.5)]"> <!-- Glow effect --> <div class="absolute -inset-1 bg-gradient-to-tr from-indigo-500 to-rose-500 rounded-[3rem] opacity-0 group-hover:opacity-20 blur-2xl transition-opacity duration-700"></div> <div class="relative z-10 text-center"> <div class="h-20 w-20 bg-indigo-500 rounded-[2rem] mx-auto mb-8 flex items-center justify-center text-white shadow-2xl group-hover:rotate-12 transition-transform duration-500"> <svg class="h-10 w-10" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"/></svg> </div> <h3 class="text-3xl font-black text-white tracking-tighter mb-4 italic">Interactive Node.</h3> <p class="text-indigo-100/40 font-bold uppercase tracking-[0.3em] text-[10px]">Hover to calibrate</p> </div> </div> </div> </body> </html>