the code is as follows:
HTML:
<div class="switch ripple"></div>
CSS:
.switch {
width: 1.13rem;
height: 1.13rem;
background: url(../../image/switch.png) no-repeat center;
background-size: cover;
margin: 0 auto;
border-radius: 50%;
overflow: hidden;
}
/*start*/
.ripple {
position: relative;
/*//*/
overflow: hidden;
}
.ripple:after {
content: "";
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
/*//*/
background-image: -webkit-radial-gradient(circle, -sharp6cff58 10%, transparent 10.01%); /* Safari 5.1-6.0 */
background-image: radial-gradient(circle, -sharp6cff58 10%, transparent 10.01%);
background-repeat: no-repeat;
background-position: 50%;
transform: scale(50, 50);
opacity: 0;
transition: transform .8s, opacity .8s;
}
.ripple:active:after {
transform: scale(0, 0);
opacity: .3;
transition: 0s;
}
/*end*/
what"s wrong with normal circular radial gradients on Android, but not normal circular gradients on iOS?