jquery实现带滑块验证的注册表单页面代码
代码语言:html
所属分类:表单美化
代码描述:jquery实现带滑块验证的注册表单页面代码,分手机注册和邮箱注册。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>系统注册</title>
<style>
/*重置*/
html,body,ul,li,h1,h2,h3,p,input {
padding: 0;
margin: 0;
}
body {
font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif;
font-size: 14px;
color: #555;
background-color: #f5f8fa;
}
input,button,textarea,img {
border: none;
}
ul {
list-style: none;
}
a {
text-decoration: none;
color: #333;
}
i,em {
font-style: normal;
}
/*公共样式*/
.fl {
float: left;
}
.fr {
float: right;
}
.por {
position: relative;
}
.poa {
position: absolute;
}
.clearfix::before,
.clearfix::after{
content: ".";
line-height: 0;
display: block;
height: 0;
visibility: hidden;
clear: both;
}
.show {
display: block;
}
.hide {
display: none;
}
/*注册样式*/
.header {
width: 100%;
height: 70px;
margin: 0 auto 70px auto;
background-color: #fff;
}
.header-container {
width: 1180px;
height: 70px;
margin: 0 auto;
line-height: 70px;
}
.header-container>h2 {
font-size: 16px;
color: #333;
}
.main {
width: 1160px;
margin: 0 auto;
padding: 20px 0;
}
.main-form {
padding: 70px 0 70px 294px;
background-color: #fff;
}
.main-form>form {
width: 866px;
height: 394px;
}
.form-tab {
width: 320px;
height: 30px;
margin: 0 0 20px 125px;
border-bottom: 1px solid #d7d7d7;
}
.form-tab li {
width: 130px;
float: left;
text-align: center;
line-height: 28px;
border-bottom: 2px solid #fff;
position: relative;
cursor: pointer;
}
.form-tab li.cur-tab {
border-color: #4477d0;
color: #4477d0;
}
.form-tab li:last-child {
margin-left: 60px;
}
.form-tab li span:first-child {
/*这里是20*20的图标*/
}
.form-group {
margin: 20px 0;
position: relative;
}
.form-group>label {
display: inline-block;
width: 100px;
padding-right: 20px;
vertical-align: middle;
text-align: center;
}
.input-group {
position: relative;
display: inline-block;
vertical-align: middle;
}
.input-group>input {
width: 325px;
height: 50px;
box-sizing: border-box;
border: 1px solid #d7d7d7;
font-size: 14px;
padding: 15px 0 15px 20px;
line-height: 20px;
color: #888;
}
.input-group>button {
position: absolute;
width: 120px;
height: 36px;
line-height: 36px;
text-align: center;
top: 7px;
right: 4px;
background-color: #dedede;
color: #fff;
cursor: pointer;
}
.input-group>button.clicked {
background-color: #4477d0;
}
.form-group i {
position: absolute;
color: #333;
width: 20px;
height: 20px;
font-size: 20px;
line-height: 20px;
text-align: center;
top: 15px;
right: 15px;
cursor: pointer;
}
.drag {
display: inline-block;
vertical-align: middle;
}
.login-btn {
display: block;
width: 325px;
height: 50px;
background-color: #4477d0;
line-h.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0