html制作登陆注册页面
源代码如下
<!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>
*{
margin: 0;
padding: 0;
}
.nav{
width: 300px;
height: 470px;
background-color: #efefef;
margin: 0px auto;
}
.nav_main{
width: 300px;
height: 55px;
}
.nav_main div{
display: inline-block;
width: 150px;
height: 55px;
line-height: 55px;
text-align: center;
}
.nav_main div a{
color: black;
text-decoration: none;
}
.nav_main1{
background-color: #8fbd8f;
}
.nav_main2{
float: right;
}
.nav_cnt1{