【HTML】@weijinhai0101:模仿酷狗登录页面半成品(CSS样式和HTML代码放在一起了)

素材素材素材```

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>模仿酷狗登录页面</title>
		<style type="text/css">
			/* 去掉外边距 */
			* {
				margin: 0px;
				padding: 0px
			}

			.father {
				width: 490px;
				height: 618px;
				border: 2px solid lightgrey;
				
				border-image: white;
				text-align: center;
				margin: auto;
				
			}
			.delete img{
				float: right;	
			}
			#clear{
				clear: both;
			}
			.biaoti{
				font-size: 38px;
				margin-top: 100px;
				font-family: 宋体;
				width: 490px;
				height: 38px;
				text-align: center;
			}
			/* 账号文本框 */
			.zhanghao{
				
				margin-top: 68px;
				width: 490px;
				height: 50px;
				text-align: center;	
				
				/* border: 1px solid red; */
			}
			.zhanghao input{
				background: url(img/QQ截图20190629174740.png)320px 12px no-repeat;
				font-size: 18px;
				width: 365px;
				height: 50px;
				border: 1px solid lightgray;
			}
			/* 密码文本框 */
			.pwd{
				margin-top: 10px;
				width: 490px;
				height: 50px;
				text-align: center;	
				/* border: 1px solid red; */
			}
			.pwd input{
				background: url(img/QQ截图20190629175348.png)250px 10px no-repeat;
				
				font-size: 18px;
				width: 365px;
				height: 50px;
				border: 1px solid lightgray;
			}
			.jizhumima{
				width: 490px;
				height: 50px;
				font-size: 18px;
				margin-top: 57px;
				/* border: 1px solid red; */
			}
			.password{
				width: 365px;
				height: 30px;
				/* border: 1px solid red; */
				margin-left: 62px;
			}
			/* 改变字体颜色 */
			.password a{
				color: black;
			}
			.denglu input{
				color: #FFFFFF;
				font-size: 30px;
				width: 365px;
				height: 50px;
				border: 1px solid deepskyblue;
				background: deepskyblue;
			}
			/* 去掉下划线 */
			a{
				text-decoration: none;
			}
			.ziti{
				color: deepskyblue;
			}
		</style>
	</head>
	<body>
		<div class="father">

			<div class="delete">
				<!-- 此图片右浮动 -->
				<img src="img/QQ截图20190629180920.png" width="25" height="25">
			</div>
			<!-- 清除浮动 -->
			<div id="clear">
				
			</div>

			<h2 class="biaoti">欢迎你的到来</h2>
			
			<p class="zhanghao">

				<input type="text"  placeholder="输入账号" />

			</p>

			<p class="pwd">
				
				<input type="password"  value="" placeholder="输入密码" />

			</p>

			<div class="jizhumima">
				
				<div class="password">
					
					<input type="checkbox" class="jizhumima1" /><a href="#">记住密码</a>
					
					<input type="checkbox" class="jizhumima2" /><a href="#">自动登录</a>&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>
			<p class="denglu">
				
				<a href="#"><input type="submit" class="denglu1" value="登录" /></a>
				
			</p>

			<p class="picture">
				<a href="#"><img src="img/QQ截图20190629173646.png" width="40" height="40"></a>
				<a href="#"><img src="img/QQ截图20190629173726.png" width="40" height="40"></a>
				<a href="#"><img src="img/QQ截图20190629173746.png" width="40" height="40"></a>
				
				
				
			</p>

			<p>

				登录代表你同意
				<a href=""><span class="ziti">用户服务协议</span></a>
				和
				<a href=""><span class="ziti">隐私政策</span></a>
			</p>

		</div>
	</body>
</html>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

天元白手

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值