<!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>
#one{
width: 100%;
height: 800px;
border: 1px blue solid;
}
#top{
height: 20%;
margin-top: 10px;
margin-left: 20px;
margin-right: 20px;
/* border: 1px black solid; */
background-color: blueviolet;
}
#moddle{
height: 60%;
margin-top: 10px;
margin-left: 20px;
margin-right: 20px;
border: 1px black solid;
background-color: rgb(41, 179, 243);
position: relative;
}
#end{
height: 13%;
margin-top: 20px;
margin-left: 20px;
margin-right: 20px;
/* border: 1px black solid; */
background-color: rgb(66, 238, 13);
}
#moddlel{
width:30%;
height: 100%;
}
#d1{
width:90%;
height: 130px;
margin-top: 20px;
margin-left: 20px;
border: 1px black solid;
background-color: rgb(66, 238, 13);
}
#d2{
width:90%;
height: 130px;
margin-top: 20px;
margin-left: 20px;
border: 1px black solid;
background-color: rgb(66, 238, 13);
}
#d3{
width:90%;
height: 130px;
margin-top: 20px;
margin-left: 20px;
border: 1px black solid;
background-color: rgb(66, 238, 13);
}
#moddler{
width:65%;
height: 440px;
margin-top: 20px;
margin-right: 20px;
border: 1px black solid;
background-color: rgb(66, 238, 13);
float: right;
position: relative;
top:-500px;
}
a{
position: fixed;
left: 90%;
top:90%;
}
</style>
</head>
<body>
<div id="one">
<div id="top"><h1 id="top"></h1></div>
<div id="moddle">
<div id="moddlel">
<div id="d1"></div>
<div id="d2"></div>
<div id="d3"></div>
</div>
<div id="moddler"></div>
</div>
<div id="end">
<a href="#top">回到顶部</a>
</div>
</div>
</body>
</html>