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,99 @@
<!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>
.box {
width: 100px;
height: 100px;
border: 1px solid #000;
display: inline-block;
}
.box_2 {
width: 200px;
height: 200px;
border: 1px solid #000;
position: relative;
}
.box_3 {
width: 60px;
height: 60px;
background: red;
left: 50%;
position: absolute;
/* margin-left: -30px; */
/* margin-top: -30px; */
/* margin-left: calc(-60px / 2); */
transform: translateX(-50%) translateY(-50%);
}
ul,
li {
list-style: none;
margin: 0;
padding: 0;
}
.menu li {
float: left;
margin-right: 10px;
position: relative;
}
.dorp {
position: absolute;
display: none;
width: 100px;
}
.menu li:hover .dorp {
display: block;
}
.dedd:hover span{
display: block;
transition: all 1s ease 3s;
}
.dedd span {
display: none;
}
</style>
</head>
<body>
<div class="box">1</div>
<div class="box">2</div>
<div class="box">3</div>
<div class="box_2">
<div class="box_3"></div>
</div>
<ul class="menu">
<li>社会</li>
<li>
财经
<div class="dorp">
下拉菜单
</div>
</li>
<li>关于</li>
</ul>
<div class="dedd">
add
<span>dddddd</span>
</div>
</body>
</html>