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,53 @@
<!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>margin 居中</title>
<style>
* {
margin: 0;
padding: 0;
list-style: none;
}
.header {
height: 60px;
background: black;
}
.center {
width: 1200px;
margin: 0 auto;
background: red;
height: 100%;
/* overflow: hidden; */
}
.center li {
float: left;
line-height: 60px;
width: 70px;
text-align: center;
}
</style>
</head>
<body>
<div class="header">
<ul class="center">
<li>你好</li>
<li>你好</li>
<li>你好</li>
<li>你好</li>
<li>你好</li>
<li>你好</li>
</ul>
</div>
</body>
</html>