简单登录界面(订餐系统)

 做期末项目的前端页面:

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登录</title>
		<style>
		body{
			background: url(./1.jpg);			//背景图片
			background-repeat: no-repeat;
			background-position: center;
			background-attachment: fixed;
			-webkit-background-size: 100% 100%;
		}
		#formbox{
			background: #8b785645;				
			width: 45%;
			margin: 0 auto;
			padding: 40px 50px;
			box-sizing: border-box;
		}
		#box{
			margin:0;
		}
		h1{
			font-size: 40px;
			font-weight: normal;
			text-align: center;
			padding-bottom: 60px;
			color: white;
		}
		div#box input[type="text"],div#box input[type="password"] {
			padding: 10px;
			width: 100%;
			border: 1px solid #8f5f3ab3; 
			color: white;
			background-color: #c7793d80;
			box-sizing: border-box;
			font-size: 20px;
		}
		
		div#box input[type="submit"]{
			width: 100%;
			padding: 10px;
			margin-top: 70px;
			background-color: #c7793dd6;
			border: none;
			color: white;
			font-size: 20px;
		
		}
		div#box input[type="submit"]:hover{
			background-color: #d1ae17bf;
		
		}
		a{
			text-decoration: none;
			color:white;
		}
		</style>
	</head>
	<body>
	
		<h1><a href="1.html">订餐系统</a></h1>
		<div id="formbox">
			<form name="form" action="1.html" onsubmit="return check()">
			<div name="box" id="box">
					<p style="color: white;">用户名:</p>
					<input  type="text" name="username"/>	
	
					<p style="color: white;">密码:</p>
					<input type="password" name="password" />											
				<div>
				<input type="submit" value="登录"/>						
				</div>
			</div>
			</form>

		</div>
		

	</body>
</html>

 效果图,(艺术细胞不行):

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

开始即是结束

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

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

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

打赏作者

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

抵扣说明:

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

余额充值