使用表单元素和css样式制作登录页面
一路上有你2019-04-04 11:05:45376<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>作业测试</title>
<style>
li{list-style:none;}
input{
height:8px;width:258px;border:1px solid #ccc; margin-top:20px;padding:20px;
}
button{
height:50px;width:300px;border:1px solid #ccc; margin-top:20px;
background:#ff6a00;
}
li{
float:left;
}
</style>
</head>
<body>
<div>
<ul>
<li>账号登录|</li>
<li>扫码登录</li>
<br>
</ul>
<form action="">
<input type="text" placeholder="请输入用户名"><br>
<input type="password" placeholder="请输入密码"><br>
<button>登录</button>
</form>
</div>
</body>
</html>