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 Disabled Input</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"> <label for="disabled_input" class="block text-[10px] font-black text-slate-300 uppercase tracking-[0.3em] mb-3 ml-2">Encrypted Segment</label> <div class="relative"> <input disabled type="text" id="disabled_input" value="PROTECTED-VALUE-X" class="w-full h-16 bg-slate-100 border-2 border-slate-50 rounded-2xl px-6 font-bold text-slate-300 cursor-not-allowed grayscale" > <div class="absolute right-6 top-1/2 -translate-y-1/2 text-slate-200"> <svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"/></svg> </div> </div> </div> </body> </html>