Toogle CSS for android


#1

Hello everybody,
i have an issue with a custom toggle on Android.

Here is the code:
.toggle .track {
width: 70px;
height: 24px;
border-radius: 5px !important;
background-color: red;
}

.toggle .handle {
width: 35px;
height: 20px;
border-radius: 1px !important;
}

.toggle input:checked + .track .handle {
-webkit-transform: translate3d(30px, 0, 0) !important;
transform: translate3d(30px, 0, 0)!important;
background-color: #fff !important;
}