同用的网站登陆界面
2017-02-16 16:51
211 查看
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>用户登录 </title>
<link rel="stylesheet" href="css/style.default.css" type="text/css"/>
<style>
body{
background: url("__Assert__/img/body_back2.png") no-repeat; /*把背景图片放在body里面*/
background-size: 100% 100%;
}
.zb_box{
position: absolute;
top: 25%;
left: 45%;
margin-left:-100px;
width: 400px;
height: 500px;
background-color:#ccc;
border-radius: 4px;
/*background: url("__Assert__/img/zb_back.png") no-repeat 50% 50%;*/
}
.zb_box form h3{
font-size: 20px;
margin:10px 0;
}
.zb_box form{
text-align: center;
}
.zb_box form input.num, .zb_box form input.pwd {
font-size: 16px;
border:1px solid #E2E2E2;
border-radius:5px;
width: 220px;
padding: 10px 40px;
}
.zb_box form input.num{
background: url("__Assert__/img/user.png") no-repeat 10px center;
}
.zb_box form input.pwd{
background: url("__Assert__/img/lock.png") no-repeat 10px center;
}
/*给手机号和密码的小图标右边加一个小竖线.利用伪类添加就可以啦*/
p{position:relative;}
p:not(:last-of-type)::before {
content: "";
width: 1px;
height: 25px;
background: #dedada;
display: block;
position: absolute;
left: 85px;
top: 10px;}
#login_submit{
font-size: 16px;
background: dodgerblue;
border: none;
border-radius:5px;
color: #ffffff;
width: 300px;
padding: 10px 0;
cursor: pointer;
}
.footer0{position:absolute;bottom:10px;left:45%;margin-left:-80px;color:#fff;font-size:14px;} /*底部版权信息*/
</style>
</head>
<body >
<div class="zb_box"> <!--主要的内容区域放在屏幕的正中间。上下左右居中-->
<div style="text-align: center;"><img src="/Application/User/View/Public/assert/img/zb_back2.png"/></div> <!--logo图片-->
<form id="login" method="post">
<h3 style="color:#fff"><b>门店管理平台</b></h3>
<p><input class="num" type="text" placeholder="请输入手机号" name="phone" id="username" /></p>
<p><input class="pwd" type="password" placeholder="请输入密码" name="password" id="password" /></p>
<!-- <p style="text-align: left"><input type="checkbox" id="remember"/><label for="remember">记住密码</label></p> -->
<p><input type="submit"value="登 录" id="login_submit"/></p>
</form>
</div>
</div>
<div class="footer0">Copyright© 2017 XXX科技有限公司 版权所有</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>用户登录 </title>
<link rel="stylesheet" href="css/style.default.css" type="text/css"/>
<style>
body{
background: url("__Assert__/img/body_back2.png") no-repeat; /*把背景图片放在body里面*/
background-size: 100% 100%;
}
.zb_box{
position: absolute;
top: 25%;
left: 45%;
margin-left:-100px;
width: 400px;
height: 500px;
background-color:#ccc;
border-radius: 4px;
/*background: url("__Assert__/img/zb_back.png") no-repeat 50% 50%;*/
}
.zb_box form h3{
font-size: 20px;
margin:10px 0;
}
.zb_box form{
text-align: center;
}
.zb_box form input.num, .zb_box form input.pwd {
font-size: 16px;
border:1px solid #E2E2E2;
border-radius:5px;
width: 220px;
padding: 10px 40px;
}
.zb_box form input.num{
background: url("__Assert__/img/user.png") no-repeat 10px center;
}
.zb_box form input.pwd{
background: url("__Assert__/img/lock.png") no-repeat 10px center;
}
/*给手机号和密码的小图标右边加一个小竖线.利用伪类添加就可以啦*/
p{position:relative;}
p:not(:last-of-type)::before {
content: "";
width: 1px;
height: 25px;
background: #dedada;
display: block;
position: absolute;
left: 85px;
top: 10px;}
#login_submit{
font-size: 16px;
background: dodgerblue;
border: none;
border-radius:5px;
color: #ffffff;
width: 300px;
padding: 10px 0;
cursor: pointer;
}
.footer0{position:absolute;bottom:10px;left:45%;margin-left:-80px;color:#fff;font-size:14px;} /*底部版权信息*/
</style>
</head>
<body >
<div class="zb_box"> <!--主要的内容区域放在屏幕的正中间。上下左右居中-->
<div style="text-align: center;"><img src="/Application/User/View/Public/assert/img/zb_back2.png"/></div> <!--logo图片-->
<form id="login" method="post">
<h3 style="color:#fff"><b>门店管理平台</b></h3>
<p><input class="num" type="text" placeholder="请输入手机号" name="phone" id="username" /></p>
<p><input class="pwd" type="password" placeholder="请输入密码" name="password" id="password" /></p>
<!-- <p style="text-align: left"><input type="checkbox" id="remember"/><label for="remember">记住密码</label></p> -->
<p><input type="submit"value="登 录" id="login_submit"/></p>
</form>
</div>
</div>
<div class="footer0">Copyright© 2017 XXX科技有限公司 版权所有</div>
</body>
</html>
相关文章推荐
- hotoshop打造出网站论坛常见的暗黑风格登陆界面效果
- PHP网站——返回上一页(登陆后自动到登陆前的界面)
- 登陆界面设计,如果用户名密码为空javascript提醒
- JavaFX + CSS 开发登陆界面
- Android开发(6)--完成登陆界面的数据保存回显的操作
- C#专题一:登陆界面的基本实现
- win7键盘失灵 登陆界面键盘失效无法输入密码的解决办法
- [转]HTML CSS3精美登陆界面
- 修改Windows7登陆界面的默认输入法
- windows安装db2以后登陆界面找不到administrator用户
- QT实现登陆界面
- ubuntu15.04登陆界面中隐藏指定用户
- Android APP 登陆界面开发 UI设计
- 网站与discuz的论坛进行整合,实现用户同步注册,单点登陆,同步删除用户,同步修改用户密码
- 简易登陆界面的实现
- Android实现一个记住密码的登陆界面
- 00年卖网站赚千万,十年做端游亏损过亿;如今,流水6亿的页游用他的Layabox引擎登陆H5
- 【Some】【Website】一个不错的网站(网站名称:界面)
- 按要求设计登陆窗口界面