
#e8e8e8
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<input type="checkbox" id="toggle" /> <label class="glass-btn" for="toggle"> <svg class="shards" viewBox="0 0 320 72" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" > <defs> <clipPath id="pill"> <rect x="0" y="0" width="320" height="72" rx="36" ry="36"></rect>
CSS
#toggle { display: none; } .glass-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 320px; height: 72px; border-radius: 999px;
MIT License