jquery实现简洁的登录注册tab选项卡页面效果代码
代码语言:html
所属分类:布局界面
代码描述:jquery实现简洁的登录注册tab选项卡页面效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
html, body * {
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
body {
background:
linear-gradient(
rgba(246,247,249,0.8),
rgba(246,247,249,0.8)),
url(//repo.bfw.wiki/bfwrepo/image/5e957a2236f31.png) no-repeat center center fixed;
background-size: cover;
}
.container {
width: 100%;
padding-top: 60px;
padding-bottom: 100px;
}
.frame {
height: 575px;
width: 430px;
background:
linear-gradient(
rgba(35,43,85,0.75),
rgba(35,43,85,0.95)),
url(//repo.bfw.wiki/bfwrepo/image/5e957a2236f31.png) no-repeat center center;
background-size: cover;
margin-left: auto;
margin-right: auto;
border-top: solid 1px rgba(255,255,255,.5);
border-radius: 5px;
box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
overflow: hidden;
transition: all .5s ease;
}
.frame-long {
height: 615px;
}
.frame-short {
height: 400px;
margin-top: 50px;
box-shadow: 0px 2px 7px rgba(0,0,0,0.1);
}
.nav {
width: 100%;
height: 100px;
padding-top: 40px;
opacity: 1;
transition: all .5s ease;
}
.nav-up {
transform: translateY(-100px);
opacity: 0;
}
li {
padding-left: 10px;
font-size: 18px;
display: inline;
text-align: left;
text-transform: uppercase;
padding-right: 10px;
color: #ffffff;
}
.signin-active a {
padding-bottom: 10px;
color: #ffffff;
text-decoration: none;
border-bottom: solid 2px #1059FF;
transition: all .25s ease;
cursor: pointer;
}
.signin-inactive a {
padding-bottom: 0;
color: rgba(255,255,255,.3);
text-decoration: none;
border-bottom: none;
cursor: pointer;
}
.signup-active a {
cursor: pointer;
color: #ffffff;
text-decoration: none;
border-bottom: solid 2px #1059FF;
padding-bottom: 10px;
}
.signup-inactive a {
cursor: pointer;
color: rgba(255,255,255,.3);
text-decoration: none;
transition: all .25s ease;
}
.form-signin {
width: 430px;
height: 375px;
font-size: 16px;
font-weight: 300;
padding-left: 37px;
padding-right: 37px;
padding-top: 55px;
transition: opacity .5s ease, transform .5s ease;
}
.form-signin-left {
transform: translateX(-400px);
opacity: .0;
}
.form-signup {
width: 430px;
height: 375px;
font-size: 16px;
font-weight: 300;
padding-left: 37px;
padding-right: 37px;
padding-top: 55px;
position: relative;
top: -375px;
left: 400px;
opacity: 0;
transition: all .5s ease;
}
.form-signup-left {
transform: translateX(-399px);
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0