简单制作百度注册页面

简单制作百度页面

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.d1{
				background-image: url(img/reg_bg_min.jpg);
				width: 1350px;
				height: 650px;
			}
			#bd1{
				position: relative;
				left: 50px;
				top: 20px;
			}
			#bd2{
				color: white;
				font-size: 30px;
				position: relative;
				left: 250px;
				top: 150px;
			}
			#bd3{
				font-size: 15px;
				position: relative;
				left: 120px;
				top: 250px;
			}
			h2{
				margin-top: 0px;
				margin-bottom: 0px;
			}
			#d1{
				background-color: azure;
				opacity: 0.8;
				width: 370px;
				height: 370px;
				padding: 20px;
				border: 1px black solid;
				border-radius: 20px;
				position: relative;
				left: 750px;
				bottom: 130px;
			}
			input{
				height: 30px;
				margin:10px;
				border: 0px;
			}
			a:link{
				text-decoration: none;
			}
			p{
				font-size: 10px;
			}
			#y1{
				width: 80px;
			}
			#y2{
				border: 5px 5px;
				margin: 2px;
			}
			#y3{
				width: 300px;
				height: 5px;
				line-height: 5px;
				padding: 15px;
				border: 0px #000000 solid;
				background-color: cornflowerblue;
				border-radius: 20px;
			}
			#y4{
				height: 15px;
				margin: 0;
			}
			.bd4{
				font-size: 10px;
				}
		</style>
	</head>
	<body>
		<div class="d1">
			<div id="bd1">
				<img src="img/baidu.png" />
			</div>
			<div id="bd2">
				<h2>用科技</h2>
				让复杂的世界更简单
			</div>
			<div id="bd3"><a href="">帮助中心&nbsp;&nbsp;&nbsp;|</a></div>
			<div id="d1">
              <div id="y5">
				  <b>欢迎注册</b>
				  <p>已有账号?<a href="">登录</p>
			  </div>
			  <div>用户名:<input type="text" placeholder="请设置用户名"/></div>
			  <div>手机号:<input type="text" placeholder="可用于登录和找回密码"/></div>
			  <div >密&nbsp;&nbsp;&nbsp;:<input type="password" placeholder="请设置登录密码"/></div>
			  <div>验证码:<input type="text" id="y1"  placeholder="请输入验证码"/>
			  <input type="button" id="y2" value="获取验证码"/></div>
			  <div> <input type="submit" id="y3" value="注册"/></div>
			  <div class="bd4">
				  <input type="checkbox" id="y4"/>
				阅读并接受<a href="">百度用户协议</a>及<a href="">百度隐私权保护声明</a>
			  </div>
			</div>
		</div>
	</body>
</html>

运行结果
在这里插入图片描述

  • 7
    点赞
  • 36
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值