
Magic button by ASAshon-G
1.8K
0
#0f0f0f
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="relative inline-block w-full py-3 modgp"> <div class="relative"> <button class="inline-flex items-center justify-center bg-primary text-sm text-white font-medium rounded-lg enabled:hover:bg-primary-dark enabled:hover:shadow-md enabled:active:bg-primary-dark enabled:focus:bg-primary-dark focus:outline-none px-4 py-2 w-full py-2.5 relative disabled:opacity-50 transition-all" type="button" > <div class="w-full flex items-center justify-center"> Let the Magic Begin </div> </button> </div> <div class="absolute inset-0 pointer-events-none">
CSS
.relative { position: relative; } .inline-block { display: inline-block; } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }