<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<style>
.create_user_sex label,.create_user_state label
{
display:-moz-inline-block;
display:inline-block;
cursor:pointer;
margin:5px 0;
padding-left:20px;
line-height:15px;
background:url(/images/choice_no.png) no-repeat left top;//需要自己来添加切换的图
font-size:16px!important;
font-weight:100;
}
.create_user_sex label.checked,.create_user_state label.checked
{
background:url(/images/choice_yes.png) no-repeat left top;//需要自己来添加切换的图
}
</style>
<script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.js" type="text/javascript"></script>
<script typ
javascript改变input radio的样式
最新推荐文章于 2024-01-30 17:08:09 发布