first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>定位</title>
<style>
body {
margin: 0;
height: 2000px;
}
.box {
width: 200px;
height: 200px;
float: left;
}
.box-1 {
background: red;
position: relative;
left: 40px;
top: 18px;
z-index: -1;
}
.box-2 {
background: yellow;
position: absolute;
z-index: -3;
}
.box-3 {
background: green;
position: relative;
}
.box-3-1 {
width: 100px;
height: 100px;
background: blue;
position: absolute;
left: -30px;
top: 140px;
z-index: -1;
}
.box-4 {
position: fixed;
right: 0;
bottom: 0;
background: palevioletred;
}
</style>
</head>
<body>
<div class="box box-1">1</div>
<div class="box box-2">2</div>
<div class="box box-3">
<div class="box-3-1">3-1</div>
</div>
<div class="box box-4">4</div>
</body>
</html>