效果:
代码:
<!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>注册页面</title>
<style>
body{
margin: 0;
padding: 0;
text-align: center;
background: url("image/bg.jpg");
background-size:cover;
}
#c{
margin:auto;
margin-top: 70px;
width: 1000px;
height: 600px;
}
#left{
width: 700px;
height: 600px;
background: rgb(255, 255, 255,0.5);
float: left;
border-radius: 20px;
}
#right{
width: 300px;
height: 600px;
background-color: #9297be;
float: left;
border-radius: 20px;
}
input{
width: 270px;
border-top-style:hidden;
border-right-style:hidden;
border-left-style:hidden;
background:none;