layui布局实现一个pc端网站注册页面代码
代码语言:html
所属分类:布局界面
代码描述:layui布局实现一个pc端网站注册页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<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/js/layui/css/layui.css">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/layui/layui.all.js"></script>
<title>注册</title>
<style type="text/css">
@charset "utf-8";
/* CSS Document */
blockquote,body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,iframe,input,legend,li,ol,p,pre,td,textarea,th,ul {
margin: 0;
padding: 0;
vertical-align: baseline
}
.clearfix:after,.clearfix:before {
display: table;
content: ''
}
.clearfix:after {
clear: both;
overflow: hidden
}
.clearfix {
zoom: 1
}
iframe {
border: 0
}
a,button,img,input,select {
outline: 0 none
}
img {
border: 0 none;
vertical-align: top
}
em,i {
font-style: normal
}
ol,ul {
list-style: none
}
button,h1,h2,h3,h4,h5,h6,input,select {
font-size: 100%;
}
table {
border-collapse: collapse;
border-spacing: 0
}
a {
color: #333;
text-decoration: none
}
a:hover {
cursor: pointer
}
input:focus,
textarea:focus {
outline: 0;
border: 1px solid #16C09C!important;
box-shadow: 0 0 0 2px rgba(22, 192, 156, 0.2);
}
.fl {
float: left;
}
.fr {
float: right;
}
body {
color: #333;
background: #EFF4F5;
font-size: 14px;
line-height: 1.6;
font-family: Gotham,Helvetica, "Pingfang SC", "Microsoft YaHei", STHeiti, Verdana, Arial, Tahoma, sans-serif;
}
.header {
background: #16C09C;
box-shadow: 0 0 8px 0 rgba(0, 0, 0, .2);
z-index: 1000;
height: 60px;
position: absolute;
width: 100%;
top: 0;
left: 0;
}
.header-inner {
padding: 0 20px;
height: 60px;
}
.header-inner .logo img {
height: 40px;
}
.logo {
margin-top: 10px;
}
.footer {
text-align: center;
color: #a8a8a8;
font-size: 12px;
padding: 20px 0;
line-height: 30px;
}
.footer.fixed {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
.grid {
width: 1200px;
margin: 0 auto;
height: 100%;
position: relative;
}
/*register.html*/
.rgst-content {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
margin: 40px auto;
background: #fff;
width: 800px;
border-radius: 10px;
overflow: hidden;
}
.rgst-content h2 {
color: #16C09C;
font-size: 24px;
font-weight: 500;
letter-spacing: 2px;
border-bottom: 1px solid #f0f0f0;
padding: 10px;
}
.ui-label {
color: #4c4c4c;
float: left;
margin-right: 10px;
text-align: right;
width: 85px;
line-height: 42px;
font-size: 15px
}
.ui-label span {
color: red;
margin-left: 5px
}
.ui-input {
font-family: Gotham,Helvetica, "Pingfang SC", "Microsoft YaHei", STHeiti, Verdana, Arial, Tahoma, sans-serif;
height: 20px;
line-height: 20px;
padding: 12px 10px;
width: 350px;
background: #fbfbfb;
border: 1px solid #c4cccc;
font-size: 14px;
transition: border .2s line.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0