
#e8e8e8
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="slider"> <input type="checkbox" id="swipe" /> <label for="swipe" class="thumb"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M17 8h-1V6a4 4 0 0 0-8 0v2H7 a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10 a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zm-8 0V6a3 3 0 0 1 6 0v2H9z" ></path> </svg> </label>
CSS
.slider { --primary: #928181; --success: #2ecc71; position: relative; width: 340px; height: 78px; border-radius: 50px; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(12px) saturate(180%); box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.15),
MIT License