Card by Javierrocadev
#e8e8e8
HTML +TailwindCSS
1<div class="overflow-hidden relative w-56 h-64 bg-sky-600 rounded-2xl text-gray-50 flex flex-col justify-end items-center gap-2"> 2 <svg y="0" xmlns="http://www.w3.org/2000/svg" x="0" width="100" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid meet" height="100" class="absolute opacity-30 -rotate-12 -bottom-12 -right-12 w-40 h-40 stroke-current"> 3 <path stroke-width="8" stroke-linejoin="round" stroke-linecap="round" fill="none" d="M65.8,46.1V30.3a15.8,15.8,0,1,0-31.6,0V46.1M22.4,38.2H77.6l4,47.3H18.4Z" class="svg-stroke-primary"> 4 </path> 5 </svg> 6 <div class="flex flex-col items-center"> 7 <p class="text-xl font-extrabold">Discount</p> 8 <p class="relative text-xs inline-block after:absolute after:content-[''] after:ml-2 after:top-1/2 after:bg-gray-200 after:w-12 after:h-0.5 before:absolute before:content-[''] before:-ml-14 before:top-1/2 before:bg-gray-200 before:w-12 before:h-0.5">Up to</p> 9 </div> 10 <span class="font-extrabold text-7xl -skew-x-12 -skew-y-12 -mt-1 mb-5">70%</span> 11 <button class="z-10 duration-500 font-bold px-4 py-2 bg-gray-50 text-sky-500 hover:bg-sky-500 hover:text-gray-50">Shop now</button> 12 <p class="text-xs mb-1">*Variable prices</p> 13</div>
460 views
Variation of acard
MIT License