
#0f0f0f
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<button class="focus:-rotate-90 transition-all group relative grid h-20 w-72 cursor-pointer grid-cols-3 rounded-full p-1 focus:p-0 focus:after:shadow-[40px_-10px_60px_oklch(75%_0.183_55.934)] after:content-[''] after:absolute after:w-full after:h-full after:top-0 after:left-0 after:rounded-full focus:after:animate-pulse before:content-['Life_is_like_\A_a_box_of_chocolates\A\A_You_never_know_what_\A_you\'re_gonna_get'] before:absolute before:top-0 before:left-0 before:translate-y-32 before:text-white before:rotate-90 before:opacity-0 focus:before:opacity-100 before:duration-[2000ms] focus:before:translate-x-16 before:translate-x-30 before:whitespace-pre focus:-translate-x-20 before:invisible focus:before:visible before:pointer-events-none" > <div class="absolute top-0 bottom-0 left-0 w-full h-full my-auto rounded-full overflow-hidden flex items-center justify-between" > <div class="bg-gradient-to-b w-0 h-72 from-neutral-700 to-neutral-200 transition-all duration-500 group-hover:w-72 group-hover:animate-spin group-focus:animate-none rounded-full" ></div> </div> <div class="relative h-full overflow-hidden rounded-l-full bg-neutral-900 px-2 pt-2 pb-4 shadow-[inset_0px_-2px_10px_oklch(87%_0_0)]"
MIT License