初始学习记录 基于http://www.htmleaf.com/html5/html5muban/20141121552.html模板

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>标题</title>
<style>
button
{
background: #686868;
border: 30px solid #c6c6c6; /*solid边框30px*/
border-radius: 80%;/*圆角边框*/
cursor: pointer; /*光标样式*/
width: 85px;
height: 85px;
position: absolute;/*位置*/
right:900px;
top: 200px;
}
button:hover
{
background: #c6c6c6;
border-color:#686868 ;
} </style></head>
<body><div><button type="submit"></body>
<!DOCTYPE html><html class=''>
<head><meta charset='UTF-8'><title>登录界面</title>
<style>*
/*内外边距*/
{
margin:0px;
padding:0px;
}
/*body*/
body{
background:url('245.jpg');
position:relative;
padding:150px;
font-family:verdana;
}
/*登录窗口主体*/
#loginform
{
width:210px;
height:auto;
position:relative;
margin:0 auto;
}
input
{
display:block;
margin:0px auto 15px;
border-radius:5px;
background: #c6c6c6;
width:85%;
padding:12px 20px 12px 10px;
border: none;
color:#686868;
box-shdow:inset 0px 1px 5px #000000;
font-size:0.85em;
} button
{
background: #c6c6c6;
border-radius:80%;
border:30px solid #686868;
cursor:pointer;
width: 85px;
height:85px;
position:absolute;
right: -42px;
top:54px; } button:hover
{
background: #686868;
border-color:#c6c6c6; } h1
{
text-align:center;
color:#c6c6c6;
font-size:15px;
padding:10px 0px;
}
/*注册和忘记密码效果设置*/
#note
{
color:#88887a;
font-size: 0.8em;
text-align:left;
padding-left:5px;
} a
{
color:#88887a;
text-decoration:none; } a:hover
{
color:#39F;
margin-left:1px; }
/*登录窗口主体背景*/
#mainlogin
{
float:center;
width:250px;
height:170px;
padding:15px 15px;
position:relative;
background:#686868;
border-radius:7px;
opacity:0.9;
} </style></head><body>
<div id="loginform"> <div id="mainlogin"> <h1>欢迎登录</h1>
<form action="">
<input type="text" placeholder="邮箱/手机/账户" value="" required>
<input type="password" placeholder="输入密码" value="" required>
<button type="submit" required></button>
</form>
<div id="note"><a href="">注册</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="">忘记密码</a></div>
</div>
</div>
</body></html>
 
 
 
 
 

最新文章

  1. [deviceone开发]-do_Webview的基本示例
  2. 1.Two Sum(c++)(附6ms O(n) accepted 思路和代码)
  3. centos 安装redis并加入系统服务
  4. python反射原理
  5. from live writer
  6. 23. javacript高级程序设计-数据存储
  7. A required class was missing while executing org.apache.maven.plugins:maven-war-plugin:2.1.1:war
  8. [Architecture Design] CLK Architecture
  9. objc_msgSend(): Too many arguments to function call ,expected 0,have3
  10. 将Excel中数据导入数据库(二)
  11. 使用svcutil.exe 生成服务的代码
  12. 【转】如何实现一个malloc
  13. css background-position (图片裁取)
  14. Gedit —— 推荐于NOI系列考试(NOIlinux)的轻量编程环境
  15. Ubuntu16.04调整屏幕分辨率至1920*1080
  16. django-celery 创建多个broker队列 异步执行任务时指定队列
  17. vue2.0项目中 localhost改成ip地址访问
  18. jekins构建通知邮件配置及邮件附件设置,jenkins构建通知邮件没有RF的log和report文件
  19. 详解Hadoop Slots的含义
  20. 【LeetCode题解】20_有效的括号(Valid-Parentheses)

热门文章

  1. 使用HTML+CSS,jQuery编写的简易计算器
  2. chrome浏览器调试
  3. 初涉JavaScript模式 (6) : 原型模式 【二】
  4. [Struts2学习笔记] -- 自定义类型转换
  5. 素数判定 AC 杭电
  6. Tr A
  7. java中字符输入输出流在输出结果的结尾多一个乱码字符:&#39;?&#39;
  8. 002 Spring Restful案例
  9. oracle insert &amp;字符插入问题
  10. C#程序设计基础——数据类型