Switch by pandey_saurav_
#e8e8e8
1#checkbox-input { 2 display: none; 3} 4 5.switch { 6 width: fit-content; 7 padding: 10px; 8 background-color: rgb(46, 46, 46); 9 border-radius: 50px; 10 z-index: 1; 11 cursor: pointer; 12 display: flex; 13 transition: all 0.7s; 14} 15 16#checkbox-input:checked + .switch { 17 background-color: rgb(161, 91, 0); 18 box-shadow: 0px 0px 100px rgb(255, 196, 0); 19} 20
103 views
103 views
MIT License