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,92 @@
<!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>
li {
list-style: none;
}
body,ul{
margin: 0;
padding: 0;
}
.top {
width: 50px;
margin-left: 15px;
}
.top li {
margin-top: 20px;
position: relative;
}
.list {
position: absolute;
height: 150px;
width: 100px;
background: red;
display: none;
margin-left: 10px;
}
.top li:hover .list {
display: inline-block;
}
.list-1:hover {
background: green;
color: #fff;
}
.list-1 {
padding-top: 10px;
}
</style>
</head>
<body>
<ul class="top">
<li>首页
<div class="list">
<div class="list-1">11111</div>
<div class="list-1">11111</div>
<div class="list-1">11111</div>
<div class="list-1">11111</div>
</div>
</li>
<li>html
<div class="list">
<div class="list-1">22222</div>
<div class="list-1">22222</div>
<div class="list-1">22222</div>
<div class="list-1">22222</div>
</div>
</li>
<li>css
<div class="list">
<div class="list-1">3333</div>
<div class="list-1">3333</div>
<div class="list-1">3333</div>
<div class="list-1">3333</div>
</li>
<li>js
<div class="list">
<div class="list-1">4444</div>
<div class="list-1">44444</div>
<div class="list-1">4444</div>
<div class="list-1">4444</div>
</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,110 @@
<!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>
</head>
<style>
* {
padding: 0;
margin: 0;
}
.top {
position: relative;
width: 520px;
height: 280px;
background: turquoise;
margin: 0 auto;
}
.top-left,
.top-right {
width: 40px;
height: 40px;
display: none;
position: absolute;
line-height: 30px;
margin-top: 90px;
}
.top:hover .top-left {
display: block;
}
.top:hover .top-right {
display: block;
}
.top-left {
left: 10px;
}
.top-right {
right: 10px;
}
p {
position: absolute;
bottom: 50px;
margin-left: 10px;
font-weight: 5px;
font-size: 20px;
color: #fff;
}
li {
list-style: none;
}
.www {
position: absolute;
bottom: 20px;
width: 100px;
left: 50%;
margin-left: -50px;
height: 10px;
}
.www li {
float: left;
width: 10px;
height: 10px;
background-color: #d1cbcb;
border-radius: 50%;
margin-right: 15px;
}
.www .span2 {
width: 30px;
height: 10px;
border-radius: 20px;
background-color: yellow
}
</style>
<body>
<div class="top">
<img class="top-left" src="./left.png" alt="">
<img class="top-right" src="./right.png" alt="">
<p>猪肉价格继续降?秋收如何?权威回应</p>
<ul class="www">
<li></li>
<li class="span2"></li>
<li></li>
</ul>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB