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 Authentication Form Layout</title> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.2.1"></script> </head> <body class="bg-white min-h-screen flex flex-col md:flex-row antialiased"> <!-- Left Side: Visual/Branding --> <div class="md:w-1/2 lg:w-3/5 bg-slate-900 p-12 lg:p-24 flex flex-col justify-between text-white relative overflow-hidden h-64 md:h-auto"> <!-- Abstract pattern --> <div class="absolute inset-0 opacity-20 pointer-events-none"> <div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[200%] h-[200%] border-[40px] border-white/5 rounded-full rotate-45 animate-pulse"></div> </div> <div class="relative z-10"> <div class="text-4xl font-black italic tracking-tighter mb-4">NEXUS.</div> <div class="text-[10px] font-black uppercase tracking-[0.5em] text-indigo-400">Core Authentication</div> </div> <div class="relative z-10 max-w-md hidden md:block"> <h2 class="text-5xl lg:text-7xl font-black leading-none mb-10 tracking-tighter italic">Secure Your Frontier.</h2> <p class="text-xl text-white/40 font-bold italic leading-relaxed">Unified access portal for global infrastructure management and cloud deployment protocols.</p> </div> </div> <!-- Right Side: Interaction --> <div class="md:w-1/2 lg:w-2/5 p-12 lg:p-24 flex items-center justify-center"> <div class="w-full max-w-md"> <div class="mb-12"> <h3 class="text-3xl font-black text-slate-900 tracking-tighter mb-4">Initialize Session.</h3> <p class="text-[10px] font-black text-slate-400 uppercase tracking-widest">Provide your credentials below to proceed.</p> </div> <form class="space-y-8"> <div class="space-y-6"> <div> <label class="block text-[10px] font-black text-slate-400 uppercase tracking-widest mb-3 ml-2">Digital Signature (Email)</label> <input type="email" placeholder="identity@hub.com" class="w-full h-16 bg-slate-50 border-2 border-transparent rounded-2xl px-8 font-bold text-slate-900 focus:outline-none focus:border-indigo-600 focus:bg-white transition-all shadow-sm"> </div> <div> <label class="block text-[10px] font-black text-slate-400 uppercase tracking-widest mb-3 ml-2 flex justify-between"> <span>Keyphrase</span> <a href="##" class="text-rose-600 hover:scale-105 transition-transform">Forgot?</a> </label> <input type="password" placeholder="••••••••" class="w-full h-16 bg-slate-50 border-2 border-transparent rounded-2xl px-8 font-bold text-slate-900 focus:outline-none focus:border-indigo-600 focus:bg-white transition-all shadow-sm"> </div> </div> <div class="flex items-center gap-4"> <button type="submit" class="flex-1 h-18 bg-slate-900 text-white rounded-[2rem] font-black text-xs uppercase tracking-[0.2em] shadow-2xl hover:bg-slate-800 transition active:scale-95 cursor-pointer"> Enter Hub </button> </div> <div class="pt-10 flex items-center gap-4"> <div class="flex-1 h-px bg-slate-100"></div> <span class="text-[10px] font-black text-slate-300 uppercase tracking-widest">Connect with Socials</span> <div class="flex-1 h-px bg-slate-100"></div> </div> <div class="grid grid-cols-2 gap-4"> <button type="button" class="h-14 border-2 border-slate-50 rounded-2xl flex items-center justify-center hover:bg-slate-50 transition-all cursor-pointer"> <svg class="h-6 w-6" fill="currentColor" viewBox="0 0 24 24"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.042-1.416-4.042-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg> </button> <button type="button" class="h-14 border-2 border-slate-50 rounded-2xl flex items-center justify-center hover:bg-slate-50 transition-all cursor-pointer"> <svg class="h-6 w-6 text-black" fill="currentColor" viewBox="0 0 24 24"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg> </button> </div> </form> </div> </div> </body> </html>