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 Inline 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 bg-white rounded-[2.5rem] shadow-2xl p-4 lg:p-6 border border-white"> <form class="flex flex-col lg:flex-row items-center gap-4 w-full"> <!-- Input field 1 --> <div class="w-full lg:flex-1"> <div class="relative group"> <svg class="absolute left-6 top-1/2 -translate-y-1/2 h-5 w-5 text-slate-400 group-focus-within:text-indigo-600" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/></svg> <input type="text" placeholder="Worker Identity" class="w-full h-16 bg-slate-50 rounded-2xl pl-16 pr-6 font-bold text-slate-900 border-2 border-transparent focus:outline-none focus:border-indigo-600 focus:bg-white transition-all uppercase tracking-widest text-[10px]"> </div> </div> <!-- Input field 2 --> <div class="w-full lg:flex-1"> <div class="relative group"> <svg class="absolute left-6 top-1/2 -translate-y-1/2 h-5 w-5 text-slate-400 group-focus-within:text-indigo-600" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m10 6V16a2 2 0 01-2 2H6a2 2 0 01-2-2V12a2 2 0 012-2h12a2 2 0 012 2z"/></svg> <input type="text" placeholder="Department Hub" class="w-full h-16 bg-slate-50 rounded-2xl pl-16 pr-6 font-bold text-slate-900 border-2 border-transparent focus:outline-none focus:border-indigo-600 focus:bg-white transition-all uppercase tracking-widest text-[10px]"> </div> </div> <!-- Submit Button --> <div class="w-full lg:w-auto"> <button type="submit" class="w-full lg:w-auto px-10 h-16 bg-indigo-600 text-white rounded-2xl font-black text-[10px] uppercase tracking-[0.2em] shadow-xl hover:bg-slate-900 transition active:scale-95 cursor-pointer whitespace-nowrap"> Link System </button> </div> </form> </div> </body> </html>