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 FAQ Accordion</title> <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4.2.1"></script> </head> <body class="bg-slate-900 flex justify-center min-h-screen pt-16 p-6 antialiased" x-data="{ activeFaq: 1 }"> <div class="w-full max-w-3xl"> <div class="mb-12 text-center"> <span class="text-[10px] font-black text-indigo-500 uppercase tracking-widest italic">Knowledge Base</span> <h2 class="text-3xl font-black text-white tracking-tighter mt-2">Neural Direct Protocol</h2> </div> <div class="space-y-2"> <!-- FAQ 1 --> <div class="bg-white/5 border border-white/5 rounded-3xl overflow-hidden backdrop-blur-3xl transition-all" :class="activeFaq === 1 ? 'bg-white/[0.08] border-white/10 ring-1 ring-white/10 ring-inset' : ''"> <button @click="activeFaq = activeFaq === 1 ? null : 1" class="w-full px-10 py-8 flex items-center justify-between cursor-pointer group text-left" > <span class="text-sm font-bold text-slate-200 group-hover:text-white transition-colors">How does the cluster sync maintain atomicity?</span> <div class="h-8 w-8 rounded-full border border-white/10 flex items-center justify-center transition-all duration-500" :class="activeFaq === 1 ? 'bg-white text-slate-900 rotate-45' : 'text-slate-500'"> <svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M12 4v16m8-8H4" /></svg> </div> </button> <div x-show="activeFaq === 1" x-collapse style="display: none;"> <div class="px-10 pb-10"> <p class="text-sm text-slate-400 font-medium leading-relaxed italic border-l-2 border-indigo-500 pl-6">By utilizing the decentralized ledger established in version 4.2. Each node executes a broadcast handshake before committing local state changes, ensuring 0ms delta across the entire mesh.</p> </div> </div> </div> <!-- FAQ 2 --> <div class="bg-white/5 border border-white/5 rounded-3xl overflow-hidden backdrop-blur-3xl transition-all" :class="activeFaq === 2 ? 'bg-white/[0.08] border-white/10 ring-1 ring-white/10 ring-inset' : ''"> <button @click="activeFaq = activeFaq === 2 ? null : 2" class="w-full px-10 py-8 flex items-center justify-between cursor-pointer group text-left" > <span class="text-sm font-bold text-slate-200 group-hover:text-white transition-colors">What are the security tiers for manifest access?</span> <div class="h-8 w-8 rounded-full border border-white/10 flex items-center justify-center transition-all duration-500" :class="activeFaq === 2 ? 'bg-white text-slate-900 rotate-45' : 'text-slate-500'"> <svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M12 4v16m8-8H4" /></svg> </div> </button> <div x-show="activeFaq === 2" x-collapse style="display: none;"> <div class="px-10 pb-10"> <p class="text-sm text-slate-400 font-medium leading-relaxed italic border-l-2 border-indigo-500 pl-6">Access is divided into Alpha, Beta, and Gamma tiers. Alpha nodes require a full neural handshake, while Gamma access is limited to read-only diagnostic manifests stored in regional hubs.</p> </div> </div> </div> </div> </div> <script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/collapse@3.x.x/dist/cdn.min.js"></script> <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script> </body> </html>