input[type=radio] {
margin-right: 5px;
cursor: pointer;
font-size: 14px;
width: 15px;
height: 15px;
position: relative;
-webkit-appearance: none;
appearance: none;
outline: none;
border: 0;
}
input[type=radio]:focus {
outline: none;
}
input[type=radio]:after {
position: absolute;
width: 16px;
height: 16px;
top: 0;
content: " ";
color: #fff;
display: inline-block;
visibility: visible;
padding: 0px 2px;
border-radius: 50%;
line-height: 16px;
background:#FFFFFF;
border:1px solid #DDDDDD;
}

input[type=radio]:checked:after {
 background:url('./checked.png') no-repeat center;

background-size: cover;
  outline: none;
border: 0;
}

相关文章:

  • 2021-05-24
  • 2021-12-22
  • 2022-01-08
  • 2021-05-30
  • 2021-04-16
  • 2021-12-16
  • 2022-02-09
猜你喜欢
  • 2022-02-26
  • 2022-02-06
  • 2022-12-23
  • 2021-07-01
  • 2021-12-29
  • 2021-10-21
  • 2021-10-22
相关资源
相似解决方案