Загрузка...

Интерактивная карточка категории с изображением и эффектом размытия при наведении. Tailwind CSS, градиентный значок. Для ссылок, превью статей.
<a href="#" class="group relative overflow-hidden transition hover:bg-white/10 min-h-[200px] flex items-end bg-white/5 border-white/10 border rounded-2xl backdrop-blur-xl">
<img src="https://hoirqrkdgbmvpwutwuwj-all.supabase.co/storage/v1/object/public/assets/assets/c4b7db9a-ceb9-4365-be76-2cadddbc41e5_800w.jpg" alt="" class="absolute inset-0 h-full w-full object-cover" style="">
<div class="relative w-full bg-slate-50/5 border-white/10 rounded-t-xl border-t pt-5 pr-5 pb-5 pl-5 backdrop-blur-lg">
<div class="flex items-start justify-between">
<div class="">
<h3 class="text-base font-semibold text-slate-100 tracking-tight mb-1">Science</h3>
<p class="text-xs text-slate-300/90">A community for a scientific exploration...</p>
</div>
<div class="inline-flex size-10 absolute -top-5 right-4 bg-[conic-gradient(from_90deg,var(--tw-gradient-stops))] from-purple-400/20 via-cyan-500/40 to-purple-400/80 border-slate-50/10 border rounded-full pr-3 pl-3 items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-atom size-5 text-slate-200/90"><circle cx="12" cy="12" r="1" class=""></circle><path d="M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z" class=""></path><path d="M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z" class=""></path></svg>
</div>
</div>
</div>
</a>