
Button by NANavarog21
1.9K
0
#212121
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<button> <div class="state" id="moon">Send</div> <div class="state" id="sun">Send</div> <span class="lightRotation"></span> <span class="lightRotation2"></span> <span class="lightRotation3"></span> <span class="lightRotation4"></span> </button>
CSS
button { --sunGradient: linear-gradient(60deg, #3d3393 0%, #2b76b9 37%, #2cacd1 65%, #35eb93 100%); --moonGradient: linear-gradient(to top, #cc208e 0%, #6713d2 100%); display: flex; justify-content: center; align-items: center; position: relative; width: 140px; height: 60px; color: white; font-size: 1em; font-weight: bold;