<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>实现滑动验证码</title>
<style>
.tracks{
/*滑轨样式*/
width:390px;
height:40px;
background: #d0c4fe;
overflow: hidden;
border: 1px solid #c5c5c5;
border-radius: 4px;
text-align: center;
}
.hover{
/*滑块样式*/
left: 0px;
position: absolute;
margin-left: 16px;
width: 50px;
height: 38px;
background: #ad99ff