<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>影像登录</title>
<style>
body{
background: url('image/bg@2x.png')
}
.logo{
width:100px;
margin: 107px auto 101px auto;
}
.carName{
width: 80%;
height: 40px;
margin: 0 auto;
position: relative;
background-color: #4ea7ce;
border-radius: 4px;
opacity: 0.8;
}
.carPassword{
width: 80%;
height: 40px;
margin: 20px auto;
position: relative;
background-color: #4ea7ce;
border-radius: 4px;
opacity: 0.8;
}
.code{
width: 80%;
height: 40px;
margin: 20px auto;
position: relative;
} .carName input{
width:70%;
height: 38px;
background:none;
border: none;
color:#ffffff;
}
.carPassword input{
width:70%;
height: 38px;
background:none;
border: none;
color:#ffffff;
}
.code input{
width:60%;
height: 38px;
background:none;
border: none;
color:#ffffff;
}
.icon-yonghuming{
width:6%;
height:20px;
background-image: url(image/user@2x.png);
background-position: center center;
background-repeat: no-repeat;
background-size: 20px 20px;
z-index: 200000;
display: block;
float: left;
margin: 10px 20px; }
.icon-mima{
width:6%;
height:20px;
background-image: url(image/pwd.png@2x.png);
background-position: center center;
background-repeat: no-repeat;
background-size: 20px 20px;
z-index: 200000;
display: block;
float: left;
margin: 10px 20px;
}
.icon-code{
width:10%;
max-width: 17px;
height:20px;
background-image: url(image/safe@2x.png);
background-position: center center;
background-repeat: no-repeat;
background-size: 20px 20px;
z-index: 200000;
display: block;
float: left;
margin: 10px 20px;
}
.code img{
width:44%;
}
/* 修改placeholder颜色 */
::-webkit-input-placeholder { /* WebKit browsers */
color:#ffffff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color:#ffffff;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color:#ffffff;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color:#ffffff;
}
.submit{
width:80%;
height: 40px;
margin: 60px auto;
background-color: #ffffff;
border-radius: 4px;
}
.submit input{
width:100%;
background: none;
border:none;
height: 38px;
color: #2c97c5;
font-weight: bold;
}
.ionic_code{
width:70%;
float: left;
height: 40px;
background-color: #4ea7ce;
opacity: 0.8;
}
.codeImg{
float: left;
width: 30%;
height: 40px;
background-color: #b2ddf0;
text-align: center;
line-height: 40px;
}
</style>
</head> <body>
<div class="login">
<div class="logo">
<img width="100" src="data:image/logo@2x.png"/>
</div>
<form id="loginForm" action="" class="">
<div class="carName">
<i class="iconfont icon-yonghuming"></i>
<input id="username" type="text" class="usernames" placeholder="请输入用户名">
</div>
<div class="carPassword">
<span class="ionic_pass">
<i class="iconfont icon-mima"></i>
<input id="password" type="password" class="passwords" placeholder="请输入密码">
</span>
</div>
<div class="code">
<div class="ionic_code">
<i class="iconfont icon-code"></i>
<input id="password" class="passwords" placeholder="请输入验证码">
</div>
<div class="codeImg">
<!-- <img src=""/> -->
1234
</div>
</div>
<div style="clear: both;"></div>
<div class="submit">
<input id="submit" type="button" value="登 录" />
</div>
</form>
</div>
</body>
</html>

一个简单的登录页面,如图。

最新文章

  1. 【Knockout.js 学习体验之旅】(3)模板绑定
  2. [置顶] Android 2016新技术
  3. 使用Xmanager远程连接CentOS6.4图形界面详解(图文)
  4. 用Perl编写Apache模块
  5. (三)学习MVC之密码加密及用户登录
  6. 添加samba用户,并设置密码
  7. 数据挖掘(七):Apriori算法:频繁模式挖掘
  8. Unity 3D 建立开发环境
  9. Struts2环境的搭建
  10. 规则集之探究何时使用HashSet、LinkedHashSet以及TreeSet?
  11. linq使用字符串参数排序
  12. [Android] Android : lambda expressions are not supported at this language level(需设置project language level)
  13. 深度学习基础(一)LeNet_Gradient-Based Learning Applied to Document Recognition
  14. ARM中R0-R15寄存器的作用
  15. maven配置之:&lt;distributionManagement&gt;snapshot快照库和release发布库
  16. Scala学习笔记(六):本地函数、头等函数、占位符和部分应用函数
  17. Docker技术综述
  18. Struts2环境搭建及实例解析
  19. OptionParser模块学习
  20. 使用Node.js 搭建http服务器 http-server 模块

热门文章

  1. supervisord 知识点
  2. python去除\ufeff、\xa0、\u3000
  3. LOJ 3056 「HNOI2019」多边形——模型转化+树形DP
  4. LOJ 2743(洛谷 4365) 「九省联考 2018」秘密袭击——整体DP+插值思想
  5. Hanlp实战HMM-Viterbi角色标注中国人名识别
  6. SQL2008:WITH MOVE 子句可用于重新定位一个或多个文件
  7. Xilinx FPGA开发环境vivado使用流程
  8. Azure SQL Database (22) Azure SQL Database支持中文值
  9. 查询某个SPID,session_id对应的执行sql.
  10. 关于JAVA文件的字节转字符练习