
#e8e8e8
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<button class="relative group bg-[#A776F5] w-40 h-20 rounded-xl before:content-[''] before:absolute before:rounded-xl before:bg-[#4B25B2] before:w-40 before:h-20 before:-z-[1] before:left-0 before:top-2 after:content-[''] after:absolute after:rounded-xl after:bg-[#041661] after:w-36 after:h-16 after:inset-0 after:top-2 after:mx-auto after:transition-all after:duration-150 after:ease-out after:hover:top-0" > <div class="relative bg-[#041661]/20 w-36 h-16 rounded-xl mx-auto"></div> <div class="absolute -top-[0.1em] bg-white w-40 h-20 rounded-xl mx-auto -z-[2]" ></div> <div class="absolute top-0 inset-x-0 mx-auto"> <div class="relative flex justify-center bg-[#FFB20F] w-36 h-16 rounded-xl border-2 ring-1 ring-[#CB6329] border-[#CB6329] overflow-hidden mx-auto inset-0 top-2 z-[2] group-hover:-top-2 transition-all duration-150 ease-out before:content-[''] before:absolute before:bg-white/50 before:w-[0.6em] before:h-[0.6em] before:rounded-tl-[45%] before:rounded-tr-[80%] before:rounded-bl-[72%] before:rounded-br-[45%] before:bottom-[0.21em] before:left-[0.21em] before:z-[1] after:content-[''] after:absolute after:bg-white/70 after:w-[0.35em] after:h-[0.35em] after:rounded-tl-[45%] after:rounded-tr-[72%] after:rounded-bl-[80%] after:rounded-br-[45%] after:top-[0.21em] after:right-[0.21em] after:z-[1]" > <div
Original Creator: Haqqi Ilmiawan for Kretya Studio
This UI element is reposted from an external origin. Show them some appreciation!
MIT License