Html
    Css
    Js

    
                        
.box1 {
	width:30px;
	height:30px;
	position:relative;
	top:10px;
	left:35%;
}
.box1 input {
	width:39px;
	height:39px;
	position:relative;
	z-index:6;
	opacity:0;
}
.box2 {
	width:38px;
	height:38px;
	position:absolute;
	z-index:5;
	top:3px;
	left:4px;
}
.box2 img {
	width:100%;
	height:100%;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

css js更换复选框样式

0