<!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>
.a1 {
width: 800px;
height: 10000px;
border: 2px red solid;
position: relative;
}
.a2 {
width: 760px;
height: 50px;
margin-top: 10px;
margin-left: 20px;
margin-right: 20px;
border: 2px red solid;
}
.a3,
.a4,
.a5 {
width: 200px;
height: 100px;
margin-top: 10px;
margin-left: 20px;
border: 2px red solid;
}
.a6{
width: 760px;
height: 50px;
position: absolute;
bottom: 10px;
left: 20px;
border: 2px red solid;
}
.a7{
width: 550px;
height: 328px;
position: absolute;
top: 74px;
left: 230px;
border: 2px red solid;
}
.a8{
width: 60px;
height: 100px;
border: 5px greenyellow solid;
position: fixed;
top: 370px;
left: 724px;
}
</style>
</head>
<body>
<div class="a1">
<div class="a2"><a href="www.baidu.com">vv今天吃什么?</a><p id="top"></p></div>
<div class="a3"></div>
<div class="a4"></div>
<div class="a5"></div>
<div class="a6"></div>
<div class="a7"></div>
<div class="a8"><a href="#top">回到顶部</a></div>
</div>
</body>
</html>
2022-4-13作业
于 2022-04-13 23:35:39 首次发布