.radios input[type=radio]{
display: none;
border:none;
}
.radios label{
display:-moz-box;
display:-webkit-box;
display:box;
float:left;
line-height: 60px;
text-indent: 60px;
background-size: 60px 60px;
}
.radio1 {
background:url(<%=basePath%>img/importment_man.png) no-repeat left top;
}
.radio2 {
background:url(<%=basePath%>img/importment_woman.png) no-repeat left top;
}
.radios input[type=radio]:checked + .radio1{
background:url(<%=basePath%>img/importment_man_select.png) no-repeat left top;
background-size: 60px 60px;
}
.radios input[type=radio]:checked + .radio2{
background:url(<%=basePath%>img/importment_woman_select.png) no-repeat left top;
background-size: 60px 60px;
}
<div class="radios">
<input type="radio" name="recordAppointment.visitorGender" cmps="@{visitorGender}" value="1" id="r1" /><label class="radio2" for="r1" style = "padding-left:3%;">女</label>
<input type="radio" name="recordAppointment.visitorGender" cmps="@{visitorGender}" value="0" id="r2" checked="checked"/>
<label class="radio1" for="r2" style="margin-left:10%;padding-left:3%;">男</label>
</div>