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 Dashboard Stat Card</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-[2rem] p-8 shadow-2xl border border-slate-100"> <div class="flex items-center justify-between mb-8"> <div class="h-12 w-12 bg-indigo-50 text-indigo-600 rounded-xl flex items-center justify-center"> <svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"/></svg> </div> <span class="text-[10px] font-black text-emerald-500 uppercase tracking-[0.2em] bg-emerald-50 px-3 py-1 rounded-full">+24.5%</span> </div> <div class="space-y-1"> <h3 class="text-[10px] font-black text-slate-400 uppercase tracking-[0.3em]">Network Velocity</h3> <p class="text-4xl font-black text-slate-900 tracking-tighter tabular-nums">1,402.8 <span class="text-lg text-slate-400">Tb/s</span></p> </div> <div class="mt-8 h-2 bg-slate-50 rounded-full overflow-hidden"> <div class="h-full bg-indigo-600 w-3/4 shadow-[0_0_20px_rgba(99,102,241,0.5)]"></div> </div> </div> </body> </html>