.bi-switch { -webkit-border-radius: 40px 40px 40px 40px; -moz-border-radius: 40px 40px 40px 40px; border-radius: 40px 40px 40px 40px; background-color: #d4dadd; } .bi-switch:active, .bi-switch.active { background-color: #3685f2; } .bi-switch .circle-button { -webkit-border-radius: 9px 9px 9px 9px; -moz-border-radius: 9px 9px 9px 9px; border-radius: 9px 9px 9px 9px; }