这是我第一次自己写的一个界面,请大家多多关照
下面是HTML、CSS、JS代码
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>百度一下,你就知道</title>
<script type="text/javascript" src="js/new_file.js" ></script>
<style>
baby{
margin: 0;
padding: 0;
}
.b{
font-size:15px ;
}
.back-img{
border: 1px solid #000000;
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background-color: #000000;
opacity: 0.3;
z-index: 100;
display: none;
}
.login{
border: 1px solid #000000;
width: 390px;
height: 500px;
position: absolute;
top:26%;
left: 39%;
background-color:white;
z-index: 110;
display: none;
}
.login-top{
position: absolute;
width: 100%;
height: 10%;