一、注册页面代码
<!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>
input {
width: 300px;
border-style:none;
border-bottom-style:solid;
border-bottom-width:thin;
background-color:rgba(0,0,0,0);
border-bottom-color:rgb(10, 6, 6);
text-align: center;
}
body{
width: 100%;
height: 100%;
background-image: url("img/bg1.png");
background-size: cover;
background-repeat: no-repeat;
}
#content{
width: 1100px;
height: 550px;
font-family: "宋体";
position: absolute;
text-align: center;
top: 50%;
left: 50%;
transform: translate(-45%,-50%);
}
#zc{
background-color: rgba(255, 255, 255, 50%);
width: 702px;
height: 550px;
border-width: 1px;
float: left;
}
#dl{
width: 300px;
height: 550px;
float: left;
background-image:url("img/bg2.PNG");
background-size: cover;
}
button{
width: 100px;
color: rgba(17, 16, 16, 0.8);
border-radius: 20px;
background-color: rgba(83, 66, 145, 0.5);
}
#btt{
width: 100px;
height: 30px;
border-style: double;
border-color: rgb(219, 85, 85);
border-radius: 20px;
background-color: rgba(168, 60, 152, 0);
color: rgb(24, 2, 2);
font-weight: bold;
font-size: 18px;
}
p{
color: rgba(34, 29, 29, 0.767);
}
</style>
</head>
<body>
<div id="content">
<form action="">
<div id="zc">
<h1>立即注册</h1>
<p>邮箱</p>
<input type="text" id="em"><br>
<p>用户名</p>
<input type="text" id="yhm" placeholder="不能超过5位!"><br>
<p>性别</p>
<input type="radio" name="sex" value