Listo (Ctrl + Enter para ejecutar) Bootcamp Fullstack »
glassmorphism-card.html
Tab = 4 espacios
1
<!-- Fondo con Degradado y Elementos Flotantes de Demostración -->
<div class="relative p-10 bg-gradient-to-br from-slate-900 via-cyan-950 to-slate-900 min-h-[380px] flex items-center justify-center overflow-hidden rounded-3xl">
  
  <!-- Círculos de luz de fondo para evidenciar el efecto blur -->
  <div class="absolute w-40 h-40 bg-cyan-400 rounded-full blur-2xl top-10 left-16 opacity-40"></div>
  <div class="absolute w-48 h-48 bg-blue-600 rounded-full blur-3xl bottom-8 right-20 opacity-40"></div>

  <!-- Tarjeta con Efecto Glassmorphism (Cristal Esmerilado) -->
  <div class="relative z-10 max-w-sm w-full p-6 bg-white/10 backdrop-blur-xl border border-white/20 rounded-2xl shadow-2xl shadow-cyan-900/50 text-white">
    
    <div class="flex items-center justify-between mb-4">
      <span class="px-3 py-1 text-xs font-semibold rounded-full bg-cyan-400/20 text-cyan-300 border border-cyan-400/30">
        VPS Kilopolis Cloud
      </span>
      <span class="text-xs text-slate-300">NVMe SSD</span>
    </div>

    <h3 class="text-xl font-bold mb-1">Servidor Cloud Pro</h3>
    <p class="text-xs text-slate-300 mb-6 leading-relaxed">
      Instancia dedicada con soporte para Docker, PHP 8.3, MariaDB y Nginx optimizado.
    </p>

    <!-- Botón con Anillo de Enfoque (Ring) y Sombra Resplandeciente -->
    <button class="w-full py-2.5 px-4 rounded-xl bg-cyan-500 hover:bg-cyan-400 text-slate-950 font-bold text-sm shadow-lg shadow-cyan-500/30 hover:shadow-cyan-500/50 transition-all duration-200 focus:outline-none focus:ring-4 focus:ring-cyan-300/40">
      Desplegar Instancia
    </button>
  </div>

</div>
Haz clic para editar este código
Vista Previa
Tailwind CSS JIT Engine