作业打卡
来源:5-9 编程练习
阿山123
2021-04-03 21:14:01
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.outline-none{
outline: none;
}
.text-center{
text-align: center;
}
.password{
left: 8px;
}
.password2{
left: -8px;
}
.file{
margin-top: 5px;
left: 32px;
}
.pos{
position: relative;
}
</style>
</head>
<body>
<div class="text-center">
<h1 >注册信息</h1>
<div>
<div >
<label for="">用户名:</label>
<input type="text" placeholder="请输入用户名" class="outline-none">
</div>
<div class="password pos">
<label for="">密码:</label>
<input type="text" placeholder="请输入密码" class="outline-none">
</div>
<div class="password2 pos">
<label for="">确认密码:</label>
<input type="text" placeholder="请重新输入密码" class="outline-none">
</div>
<div class="file pos">
<label for="">上传照片:</label>
<input type="file" >
</div>
</div>
</div>
</body>
</html>
1回答
同学你好,
同学完成的不错哦~非常棒,继续加油哦~
祝学习愉快!