Html
    Css
    Js

    
                        
.box {
	width:250px;
	height:40px;
	position:relative;
	background-color:#ccc;
	line-height:40px;
	margin:20px auto;
}
.bg {
	position:absolute;
	height:100%;
	background-color:#09BB07;
	z-index:1;
}
.text {
	font-size:12px;
	width:100%;
	position:absolute;
	margin:0;
	text-align:center;
	z-index:2;
}
.btn {
	width:40px;
	height:38px;
	background:#0000FF;
	position:absolute;
	top:0;
	z-index:3;
	border:1px solid #ccc;
	cursor:pointer;
}

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

原生js滑块验证

更新时间:2019-10-17 01:07:11

0