zoukankan      html  css  js  c++  java
  • HTML网页登录模板制作

    HTML网页登录模板制作

    html代码

    <!doctype html>
    <html lang="en">
    <head>
    	<meta charset="UTF-8">
    	<title>用户注册页面</title>
    	<link rel="stylesheet" href="css/base.css">
    	<link rel="stylesheet" href="css/register.css">
    	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    </head>
    <body>
    
    	<div id="user-wrapper">
    		<div class="header"></div>
    		<form action="post">
    			<div class="for-con">
    				<div class="first">
    					<input type="text" name="tel" placeholder="请输入联系方式">
    					<span>获取验证码</span>
    				</div>
    				<div class="content">
    					<input type="text" name="num" placeholder="请输入验证码">
    				</div>
    			</div>
    			<div class="after">
    				<input type="submit" name="user" value="用户验证">
    			</div>
    		</form>
    	</div>
    </body>
    </html>
    
    

    css样式

    *{
    	margin: 0px;
    	padding: 0px;
    }
    body{
    	background-color: #000;
    	font-family: "微软雅黑";
    }
    #user-wrapper{
    	 100%;
    	height: 100%;
    	max- 800px;
    	margin: 0 auto;
    	background-color: #f7f7f7;
    	letter-spacing: 1px;
    }
    #user-wrapper .header{
    	 100%;
    	height: 100px;
    }
    
    #user-wrapper form .for-con{
    	background-color: #fff;
    	position: relative;
    	border-top: 1px solid #ccc;
    }
    #user-wrapper form .for-con:after{
    	content:"";
    	display: table;
    	clear: both;
    }
    #user-wrapper form .for-con.first{
    	position: relative;
    	border: none;
    }
    #user-wrapper form .for-con .first input{
    	 100%;
    	line-height: 40px;
    	font-weight: normal;
    	border: 0;
    	border-bottom: 1px solid #ccc;
    	padding-left: 10px;
    }
    #user-wrapper form .for-con .first span{
    	position: absolute;
    	top: 8px;
    	right: 10px;
    	border-radius: 3px;
    	padding: 3px 10px;
    	color: #fff;
    	font-size: 16px;
    	font-weight: normal;
    	background-color: #00bfff;
    }
    #user-wrapper form .for-con .content input{
    	 100%;
    	line-height: 40px;
    	font-weight: normal;
    	border: 0;
    	padding-left: 10px;
    	border-bottom: 1px solid #ccc;
    }
    .after{
    	 80%;
    	margin: 0 auto;
    	background-color: #00bfff;
    	border-radius: 3%;
    	padding: 10px 0px;
    	margin-top: 20px;
    	margin-bottom: 20px;
    }
    .after a{
    	text-decoration: none;
    	color: #fff;
    	padding: 2% auto;
    	text-align: center;
    	font-weight: normal;
    }
    .after input{
    	 100%;
    	text-decoration: none;
    	color: #333;
    	padding: 2% auto;
    	font-weight: normal;
    	background: linear-gradient(to bottom, #00bfff, #00bfff);
    	-webkit-background: linear-gradient(to bottom, #00bfff, #00bfff);
    	color: #fff;
    	border-radius: 4px;
    	border: 0;
    	font-size: 1.18em;
    	cursor: pointer;
    }
    
    
  • 相关阅读:
    百度面试题
    分治法--二分查找、乘方、斐波那契数
    01-11李宁老师学Python视频课程(1):初识Python返回课程
    邮件发送的两种实现方法。
    Docker(一):Docker入门教程
    安装docker及在docker中安装python环境学
    vim编辑器的使用和CentOS有很多不同
    大一编程基础培训]==02-03-04-05课==类型
    大一编程基础培训]==08课==条件判断]==07课==Python的LIST与TUPLE数据类型
    Beautiful Soup 4.2.0 文档¶ BeautifulSoup对象内任何第一个标签入口,使用find()方法。
  • 原文地址:https://www.cnblogs.com/xiuxiu123/p/5220490.html
Copyright © 2011-2022 走看看