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,20 @@
/* 清楚浏览器默认样式 */
ul,li,p,h1,h2,h3,h4,h5,h6,body {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: #333;
}
li {
list-style: none;
}
input {
outline: none;
border: none;
}

View File

@@ -0,0 +1,53 @@
.header {
width: 100%;
height: 0.9rem;
position: fixed;
line-height: 0.9rem;
padding-left: 0.57rem;
padding-right: 0.63rem;
background: #ffffff;
top: 0;
left: 0;
box-sizing: border-box;
border-bottom: 0.01rem solid #e5e5e5;
}
.header li {
float: left;
font-size: 0.3rem;
width: 33.3%;
color: #999;
text-align: center;
position: relative;
}
.header .active {
color: #333;
}
.header .active::after {
position: absolute;
width: 0.24rem;
height: 0.05rem;
background: #d0302c;
content: "";
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
.content {
margin-top: 0.9rem;
}
.content li {
font-size: 0.32rem;
color: #333333;
padding-left: 0.61rem;
line-height: 1.2rem;
background: #ffffff;
border-bottom: 0.01rem solid #e5e5e5;
height: 1.2rem;
}

View File

@@ -0,0 +1,26 @@
/* 公共css */
.center {
width: 1192px;
margin: 0 auto;
height: 100%;
}
.left {
float: left;
}
.right {
float: right;
}
.auto {
overflow: hidden;
}
.relative {
position: relative;
}
.absolute {
position: absolute;
}

View File

@@ -0,0 +1,47 @@
<!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>
<link rel="stylesheet" href="./css/clear.css">
<link rel="stylesheet" href="./css/public.css">
<link rel="stylesheet" href="./css/index.css">
<script>
window.onload = function () {
getRem(750, 100)
};
window.onresize = function () {
getRem(750, 100)
};
function getRem(pwidth, prem) {
var html = document.getElementsByTagName("html")[0];
var oWidth = document.body.clientWidth || document.documentElement.clientWidth;
html.style.fontSize = oWidth / pwidth * prem + "px";
}
</script>
</head>
<body>
<ul class="header">
<li>包河radio</li>
<li class="active">包河TV</li>
<li>融媒直播</li>
</ul>
<div class="content">
<ul>
<li>安徽卫视</li>
<li>经济生活</li>
<li>影视频道</li>
<li>综艺频道</li>
<li>科教频道</li>
<li>人物频道</li>
<li>国际频道</li>
</ul>
</div>
<div class="footer"></div>
</body>
</html>