
#cbcbcb
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<label class="swipe-button"> <input type="checkbox" class="swipe-checkbox" /> <div class="swipe-handle"> <svg class="icon-locked" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" > <path d="M17 8V7a5 5 0 00-10 0v1M6 10h12v10H6V10z"
CSS
.swipe-button { --bg-color: rgba(255, 255, 255, 0.25); --border-color: rgba(255, 255, 255, 0.4); --handle-bg: rgba(255, 255, 255, 0.35); --handle-border: rgba(255, 255, 255, 0.6); --handle-shadow-dark: rgba(0, 0, 0, 0.15); --handle-shadow-light: rgba(255, 255, 255, 0.7); --text-color: rgba(0, 0, 0, 0.6); --text-checked: rgba(0, 0, 0, 0.85); position: relative; width: 17.5em;
MIT License