1
<!-- 1. Tarjeta con Elevación, Escala y Sombra al Hover -->
<div class="max-w-sm mx-auto p-6 bg-white rounded-2xl border border-slate-200 shadow-sm hover:shadow-2xl hover:-translate-y-1.5 hover:scale-[1.02] transition-all duration-300 ease-out cursor-pointer mb-8">
<div class="flex items-center justify-between mb-4">
<span class="text-xs font-bold text-cyan-600 uppercase tracking-wider">Interacción Fluida</span>
<!-- Indicador de Notificación con Efecto Radar (animate-ping) -->
<span class="relative flex h-3 w-3">
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-cyan-400 opacity-75"></span>
<span class="relative inline-flex rounded-full h-3 w-3 bg-cyan-500"></span>
</span>
</div>
<h3 class="font-bold text-slate-800 text-lg mb-2">Elevación con GPU Acceleration</h3>
<p class="text-slate-500 text-sm leading-relaxed mb-4">
Pasa el cursor por encima para experimentar la elevación y escalado a 60 cuadros por segundo sin parpadeos.
</p>
<!-- Botón con Spinner de Carga Giratorio (animate-spin) -->
<button class="inline-flex items-center gap-2 px-4 py-2 bg-slate-900 text-white text-xs font-semibold rounded-xl">
<svg class="animate-spin h-4 w-4 text-cyan-400" fill="none" viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
</svg>
<span>Sincronizando...</span>
</button>
</div>
<!-- 2. Esqueleto de Carga (Skeleton Loader) con animate-pulse -->
<div class="max-w-sm mx-auto p-6 bg-white rounded-2xl border border-slate-200 animate-pulse">
<div class="flex items-center gap-4 mb-4">
<div class="w-12 h-12 rounded-full bg-slate-200"></div>
<div class="flex-1 space-y-2">
<div class="h-4 bg-slate-200 rounded w-3/4"></div>
<div class="h-3 bg-slate-200 rounded w-1/2"></div>
</div>
</div>
<div class="space-y-2">
<div class="h-3 bg-slate-200 rounded"></div>
<div class="h-3 bg-slate-200 rounded w-5/6"></div>
</div>
</div>
Haz clic para editar este código