Cards | RashadGhzi bad pig 34
html公开前 25 行,完整代码需登录
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<div
class="card font-sans bg-white rounded-lg overflow-hidden w-96 transform transition duration-500 hover:shadow-2xl"
>
<div
class="p-4 bg-gradient-to-r from-purple-400 via-pink-500 to-red-500 text-white"
>
<div class="flex justify-between items-center">
<div class="text-lg font-montserrat font-bold">Social Media</div>
<div class="flex space-x-4">
<a href="#" class="hover:text-gray-200">
<svg
class="w-6 h-6 scale-100 ease-out transistion duration-300 hover:scale-75"
fill="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M22.675 0H1.325C.593 0 0 .592 0 1.326v21.348C0 23.406.592 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.896-4.788 4.66-4.788 1.325 0 2.462.099 2.794.143v3.239h-1.918c-1.505 0-1.795.716-1.795 1.764v2.315h3.588l-.467 3.622h-3.121V24h6.116c.73 0 1.325-.594 1.325-1.326V1.326C24 .592 23.408 0 22.675 0"
></path>
</svg>
</a>
<a href="#" class="hover:text-gray-200">
<svg
class="w-6 h-6 w-6 h-6 scale-100 ease-out transistion duration-300 hover:scale-75"