This is because you said that the switch is at 0% in height - 0px - which is not.
You can override this by specifying the height and width as βautoβ, which will reset them (unless there is a rule that is more specifically elsewhere in the stylesheet)
input.myradio {
border:none;
width:auto;
height:auto;
}
source
share