纯html css登录页面

下面展示一些 内联代码片

登录页面HTML
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<script src="../js/login.js"></script>
	<link rel="stylesheet" href="../css/login.css">
</head>
<body>

	<div class="receptacle">
		<h2 class="topic">登录</h2>
		<p>
			<input type="text" placeholder="账号" class="personName"/>
			<input type="password" placeholder="密码" class="personName"/>

		</p>
		<p>
			<button class="depressed-button">登录</button>
			<a href="regist.html">注册</a>
		</p>
	</div>

</body>
</html>

登录页面CSS

		.topic {
		  
		text-align:center;
		
		font-size:22px;
		
		border-bottom:1px dashed rgba(203, 80, 120, 0.9);
		
		}
		.receptacle {

		overflow:hidden;
		
		clear:both;
		
		margin:10px auto;
		
		width:350px;
		
		padding:40px;
		
		background-image:linear-gradient(-20deg, rgba(166, 163, 93, 1.0) 0%, rgba(193, 209, 134, 0.0) 100%);
		
		border:1px groove rgba(5, 1, 55, 0.8);
		
		box-shadow:20px 0px 5px rgba(166, 6, 142, 0.7);
		
		height:300px;
		
}

		.personName {
		  
		width:90%;
		
		height:35px;
		
		margin:20px auto;
		
		display:block;
		
		text-indent:5px;
		
		border:1px ridge rgba(132, 94, 200, 0.3);
		
		border-radius:2px;
		
		}
		
		.logon {
		  
		float:right
		
		}
		
		body {
		  background: rgba(51, 150, 60, 0.4);
		}
		
	.title{
	  display: block;
	  text-align: center;
	}
		
		.depressed-button {
		  
		line-height:45px;
		
		display:block;
		
		width:90%;
		
		text-align:center;
		
		margin:30px auto;
		
		height:45px;
		
		text-align:center;
		
		font-size:22px;
		
		border-bottom:1px dashed rgba(203, 80, 120, 0.9);
		
		}
		
		.password {
		  
		width:90%;
		
		height:35px;
		
		margin:20px auto;
		
		display:block;
		
		text-align:center;
		
		font-size:22px;
		
		border-bottom:1px dashed rgba(203, 80, 120, 0.9);
		
		}
		
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

终将老去的穷苦程序员

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

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

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

打赏作者

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

抵扣说明:

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

余额充值