<div class="switch-holder"> <div class="switch-label"> <i class="fa fa-bluetooth-b"></i><span>Bluetooth</span> </div> <div class="switch-toggle"> <input type="checkbox" id="bluetooth"> <label for="bluetooth"></label> </div> </div>
.switch-holder { display: flex; padding: 10px 20px; border-radius: 10px; box-shadow: -8px -8px 15px rgba(255, 255, 255, .7), 10px 10px 10px rgba(0, 0, 0, .2), inset 8px 8px 15px rgba(255, 255, 255, .7), inset 10px 10px 10px rgba(0, 0, 0, .2); justify-content: space-between; align-items: center; }