
#212121
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="container"> <div class="button-outer"> <div class="button-inner"> <div class="triangle-bottom-left"></div> <div class="triangle-bottom-right"></div> <div class="triangle-top-left"></div> <div class="triangle-top-right"></div> <div class="light-shadow-on-button"></div> <div for="toggle" class="finger-place"> <input type="checkbox" id="toggle" hidden="" /> <label for="toggle" class="button"></label> <svg
CSS
.container { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2em; } label { position: absolute; width: 100%; height: 100%; cursor: pointer;
MIT License