博客列表 >3-12作业-登陆页面

3-12作业-登陆页面

csz1204的博客
csz1204的博客原创
2019年03月15日 10:24:22642浏览

实例

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>登陆页面</title>
	<style type="text/css">
    *{margin: 0;padding: 0;}
	body{
		background: #151517


	}
	div{
		width: 400px;
		height: 350px;
		margin: 200px auto;
		background: rgba(188,185,198,0.4);
		border-radius: 10px;
		text-align:center;
	}
	img{
		width: 80px;
		border-radius: 50%;

		margin-top: 15px;
	}
	input{
		width: 300;
		height:30;
		margin-top: 15px;
		border-radius: 6px;
		border: none;
	}
	button{
		border:none;
		width: 100px;
		height:35px;
		border-radius: 6px;
		background: #151517;
		color: red;
		margin-top: 15px;
	}

	</style>
</head>
<body>
<div>
	<img src="static/images/3.jpg">
	<form>
		<input type="text" name="" placeholder="请输入用户名"><br>
		<input type="password" name="" placeholder="请输入密码"><br>
		<button>登陆</button>

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

运行实例 »

点击 "运行实例" 按钮查看在线实例


声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议