bootstrap大气网站登录注册表单页面代码
代码语言:html
所属分类:表单美化
代码描述:bootstrap大气网站登录注册表单页面代码,点击注册可切换到注册表单。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.4.3.1.min.css">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/bootstrap.4.3.1.min.js"></script>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
<style>
a{
color: black;
}
a:hover{
text-decoration: none;
color: black;
}
.mb-3, .my-3 {
margin-bottom: 1.6rem !important;
}
.login-top {
width: 100%;
position: fixed;
z-index: 999;
top: 0px;
}
.head {
width: 400px;
height: 80px;
margin-left: 10%;
}
.head img {
width: 120px;
margin-top: 15px;
}
.head span {
display: block;
float: right;
width: 100px;
height: 80px;
line-height: 80px;
margin-right: 43%;
font-size: 1.2rem;
color: rgb(135, 148, 143);
}
.head span h1{
display: block;
padding: 0;
float: left;
height: 80px;
line-height: 72px;
padding: 0px 3px;
font-size: 3rem;
}
.login-box {
margin-top: 80px;
width: 100%;
height: 600px;
background-color: #10c55c;
}
.tree {
position: relative;
width: 300px;
top: 468px;
left: 120px;
}
.tree img {
width: 300px;
height: 132px;
}
.slogan {
position: relative;
width: 500px;
left: 200px;
font-size: 5rem;
color: white;
letter-spacing: 10px;
animation: slogan 1s;
-webkit-animation: slogan 1s;
/* Safari and Chrome */
}
@keyframes slogan {
0% {
left: -40%;
top: 0px;
opacity: 0;
}
100% {
left: 200px;
top: 0px;
opacity: 1;
}
}
@-webkit-keyframes slogan
/* Safari and Chrome */
{
0% {
left: 40%;
top: 0px;
opacity: 0;
}
100% {
left: 40%;
top: -280px;
opacity: 1;
}
}
.yellow {
color: #fdef34;
}
.earth {
position: relative;
width: 400px;
height: 350px;
top: -280px;
left: 40%;
animation: earth 1s;
-webkit-animation: earth 1s;
/* Safari and Chrome */
}
@keyframes earth {
0% {
left: 40%;
top: 0px;
}
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0