
#212121
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<button> <div id="moon" class="state">Send</div> <div id="sun" class="state">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;