Change the default style of the input box

 
input[type="radio"] {
width: 2rem;    
height: 2rem;
-webkit-appearance: none; /*Clear checkbox default style*/
background: url("../../assets/address/addressManagement-nocheck.png") no-repeat; /*The background image of the checkbox is the image above*/
background-size: cover;
vertical-align: middle;
}
input[type="radio"]:checked {
-webkit-appearance: none; /*Clear checkbox default style*/
background: url("../../assets/address/addressManagement-check.png") no-repeat; /*The background image of the checkbox is the above image*/
background-size: cover;
height: 2rem; /*height*/
vertical-align: middle;
width: 2rem;
}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324466227&siteId=291194637