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 Contact Form</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-4xl grid grid-cols-1 lg:grid-cols-2 bg-white rounded-[3rem] shadow-3xl overflow-hidden border border-white"> <!-- Left: Informational Section --> <div class="bg-slate-900 p-12 lg:p-20 text-white relative"> <div class="absolute top-0 right-0 p-12 opacity-10"> <svg class="h-48 w-48" fill="currentColor" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg> </div> <div class="relative z-10"> <h2 class="text-4xl font-black tracking-tighter mb-8 italic">Let's Connect.</h2> <p class="text-indigo-100/60 font-bold text-lg leading-relaxed mb-12">Building something major? Our architectural team is ready to assist with your digital deployment.</p> <div class="space-y-6"> <div class="flex items-center space-x-6 group"> <div class="h-12 w-12 bg-white/10 rounded-2xl flex items-center justify-center group-hover:bg-indigo-600 transition-colors"> <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" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"/></svg> </div> <span class="text-xs font-black uppercase tracking-widest">Global HQ, Studio 4</span> </div> <div class="flex items-center space-x-6 group"> <div class="h-12 w-12 bg-white/10 rounded-2xl flex items-center justify-center group-hover:bg-rose-600 transition-colors"> <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" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/></svg> </div> <span class="text-xs font-black uppercase tracking-widest">hello@nexus.hub</span> </div> </div> </div> </div> <!-- Right: Form Section --> <div class="p-12 lg:p-20"> <form class="space-y-8"> <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> <div> <label class="block text-[10px] font-black text-slate-400 uppercase tracking-widest mb-3">Identity</label> <input type="text" placeholder="Your Name" class="w-full h-14 bg-slate-50 rounded-2xl px-6 font-bold text-slate-900 border-2 border-transparent focus:outline-none focus:border-indigo-600 focus:bg-white transition-all"> </div> <div> <label class="block text-[10px] font-black text-slate-400 uppercase tracking-widest mb-3">Email</label> <input type="email" placeholder="you@work.com" class="w-full h-14 bg-slate-50 rounded-2xl px-6 font-bold text-slate-900 border-2 border-transparent focus:outline-none focus:border-indigo-600 focus:bg-white transition-all"> </div> </div> <div> <label class="block text-[10px] font-black text-slate-400 uppercase tracking-widest mb-3">Mission Brief</label> <textarea rows="4" placeholder="Briefly describe your objective..." class="w-full bg-slate-50 rounded-2xl p-6 font-bold text-slate-900 border-2 border-transparent focus:outline-none focus:border-indigo-600 focus:bg-white transition-all outline-none resize-none"></textarea> </div> <button type="submit" class="w-full h-18 bg-indigo-600 text-white rounded-[2rem] font-black text-sm uppercase tracking-widest shadow-2xl shadow-indigo-100 hover:bg-slate-900 transition-all active:scale-95 cursor-pointer"> Transmit Brief </button> </form> </div> </div> </body> </html>