css登陆界面

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title></title>
		<style>
			html,body{
				height: 100%;
			}
			body{
				font-size:12px;
			}
			*{
				margin: 0;
				padding:0px;
			}
			form{
				width: 400px;
				padding:14px;
				margin:auto;
				border:2px solid #b7ddf2;
				background:#ebf4fb;
			}
			h1{
				font-size: 14px;
				font-weight: bold;
				margin-bottom:8px;
			}
			p{
				font-size:11px;
				color:#666;
				margin-bottom:20px;
				padding-bottom:10px;
				border-bottom:1px solid #b7ddf2;

			}
			label{
				display: block;
				width: 140px;
				font-weight:bold;
				text-align: right;
				float: left;
				/* border: 1px solid #000; */
			}
			.small{
				color:#666;
				font-size:11px;
				font-weight:normal;
				text-align: right;
				display: block;
				width: 140px;
				/* border: 1px solid #000; */
			}
			input[type=text]{
				float: left;
				font-size:12px;
				padding:4px 2px;
				margin:2px 0 20px 10px;
				border:1px solid #aacfe4;
				width: 200px;
			}
			input[type=submit]{
				clear: both;
				margin-left: 150px;
				width: 125px;
				height: 31px;
				text-align: center;
				line-height:31px;
				color: #fff;
				font-size:11px;
				font-weight: bold;
				background-color:aqua;
				border: 1px solid aqua;
			}
			input[type=text]:focus{
				outline-style: dashed;
				outline-width: 1px;
				outline-offset:2px; 
				

			}
		</style>
			
	</head>
	<body>
		<form action="">
			<h1>登录</h1>
			<p>请准确填写个人信息...</p>
			<label for="name">name<span class="small">姓名</span></label>
			<input type="text" class='name'>
			<label for="Email">email<span class="small">邮件</span></label>
			<input type="text" class="name">
			<label for="password">password<span class="small">密码</span></label>
			<input type="text" class='name'>
			<input type="submit" value="登录">
		</form>
	</body>
</html>

在这里插入图片描述

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值