03-星星守护效果图
(静态页面部分图)
![](https://i-blog.csdnimg.cn/direct/e1e517f61d2c47c28041c8599c9d41ef.png)
![](https://i-blog.csdnimg.cn/direct/7accf32c9e0c46599f9f9682bbe6c812.png)
![](https://i-blog.csdnimg.cn/direct/bf97b5b3c08e44fe9b3eab93ecf4e300.png)
html代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="03-星星守护.css">
<link rel="shortcut icon" href="../images/image/favicon .ico" type="image/x-icon">
<title>03-星星守护</title>
</head>
<body>
<div class="xing">
<div class="teng">
<div class="teng-1"></div>
<div class="teng-2">
<ul>
<li class="teng-3">
<a href="01-成长平台首页.html">首页</a></li>
<li class="teng-3">
<a href="02-成长守护.html">成长守护</a></li>
<li class="teng-3 teng-4">
<a href="03-星星守护.html">星星守护</a></li>
<li class="teng-3">
<a href="04-守护共创.html">守护共创</a></li>
<li class="teng-3">
<a href="05-帮助.html">帮助</a></li>
</ul>
</div>
<div class="teng-5">登录</div>
</div>
<div class="tup">
<div class="tup-1">
<div class="tup-2"></div>
</div>
</div>
<div class="qw">
<div class="qw-1"></div>
<div class="qw-3">
<div class="qw-03">老师端</div>
<div class="qw-003">查询学生游戏动态,班级报告自动推送</div>
</div>
<div class="qw-4"></div>
<div class="qw-5">
<ul class="qw-05">
<li class="qw-005">
<div class="qw-0051"></div>
<div class="qw-0052">更懂学生</div>
<div class="qw-0053">了解学生的游戏动态,沟通更有效。</div>
</li>
<li class="qw-0005">
<div class="qw-0054"></div>
<div class="qw-0055">提升学习成绩</div>
<div class="qw-0056">掌握学生游戏行为,管理有方法,针对性提升成绩。</div>
</li>
<li class="qw-00005">
<div class="qw-0057"></div>
<div class="qw-0058">简单不费事</div>
<div class="qw-0059">信息自动推送给老师,一分钟掌控全局。</div>
</li>
</ul>
</div>
</div>
<div class="as">
<div class="as-1"></div>
<div class="as-3">
<div class="as-03">学生端</div>
<div class="as-003">查询自己的游戏数据,自我游戏管理</div>
</div>
<div class="as-4"></div>
<div class="as-5">
<ul class="as-05">
<li class="as-005">
<div class="as-0051"></div>
<div class="as-0052">认清你的真面目</div>
<div class="as-0053">了解自己的游戏行为数据让时间看得见。</div>
</li>
<li class="as-0005">
<div class="as-0054"></div>
<div class="as-0055">你的时间你做主</div>
<div class="as-0056">自我管理游戏时间,享受更多课余乐趣。</div>
</li>
<li class="as-00005">
<div class="as-0057"></div>
<div class="as-0058">有战友,不孤单</div>
<div class="as-0059">加入班级,接受老师帮助和同学们一起进步。</div>
</li>
</ul>
</div>
</div>
<div class="foot">
<div class="foot-1">
<ul>
<li class="foot-2"></li>
<li class="foot-3">用户反馈QQ群 : 49522414</li>
<li>
</li>
</ul>
<ul class="qq-1">
<li class="foot-5">全国官方客服</li>
<li class="foot-4">0755-860113799</li>
<li class="foot-6">服务时间 9 : 00-22 : 00</li>
</ul>
</div>
<div class="hou">COPYRIGHT ◎ 1998 -2019 TENCENT. ALL RIGHTS RESERVED腾讯公司 版权所有</div>
</div>
</div>
</body>
</html>
css代码
*{
margin: 0;
padding: 0;
list-style: none;
}
.xing{
width: 1473px;
height: 2400px;
position: relative;
z-index: 3;
}
.teng{
width: 1473px;
height: 100px;
background: rgba(255, 255, 255, 0.505);
position: fixed;
z-index: 999;
}
.teng-1{
width: 250px;
height: 50px;
background: url(../images/image/logo-1.png) no-repeat;
position: fixed;
top: 25px;
left: 160px;
cursor: pointer;
}
a{
color: black;
text-decoration: none;
}
.teng-2{
width: 500px;
height: 30px;
/* background-color: aqua; */
text-align: center;
position: absolute;
top: 35px;
left: 454px;
}
.teng-2 .teng-3{
width: 100px;
height: 30px;
float: left;
}
.teng-3 a:hover{
color: #2caf7d;
}
.teng-2 .teng-4{
width: 65px;
border-bottom: 2px solid #03d5d6;
}
.teng-5{
width: 91px;
height: 34px;
border: 1px solid #333;
border-radius: 17px;
text-align: center;
line-height: 28px;
font-size: 16px;
color: #333;
cursor: pointer;
position: absolute;
top: 30px;
right: 125px;
}
.teng-5:hover{
color: #03d5d6;
border-color: #03d5d6;
}
.tup{
width: 1473px;
height: 520px;
background: url(../images/image/20210726154635_42904.png) no-repeat -215px 0;
background-size: cover;
}
.tup-1{
width: 735px;
height: 487px;
background: url(../images/image/pc-star-video-cover.png) no-repeat;
position: absolute;
top: 70px;
left: 100px;
}
.tup-2{
width: 235px;
height: 235px;
background: url(../images/image/video-btn-bg-1.png) no-repeat;
position: absolute;
top: 125px;
left: 255px;
transition: transform 3s;
cursor: pointer;
}
.tup-2:hover{
transform: translate(20px);
}
.qw{
width: 1200px;
height: 628px;
/* background-color: bisque; */
position: absolute;
top: 520px;
left: 145px;
z-index: 3;
}
.qw-1{
width: 170px;
height: 140px;
background: url(../images/image/parent-main.png) no-repeat -118px -60px;
position: absolute;
top: 90px;
right: 35px;
}
.qw-3{
width: 306px;
height: 70px;
position: absolute;
top: 145px;
right: 158px;
}
.qw-03{
font-size: 28px;
float: right;
}
.qw-003{
font-size: 18px;
position: absolute;
bottom: 0;
left: 0;
}
.qw-4{
width: 565px;
height: 563px;
background: url(../images/picture/teacher-phone.png) no-repeat;
position: absolute;
top: 66px;
}
.qw-5{
width: 700px;
height: 300px;
/* background-color: chartreuse; */
position: absolute;
top: 276px;
left: 500px;
text-align: center;
}
.qw-05 li{
width: 200px;
height: 300px;
background-color: rgb(255, 255, 255);
border-radius: 10px;
float: left;
margin-left: 33px;
transition: transform 0.5s; /* 平滑过渡效果 */
transform: translateY(0); /* 初始状态,不移动 */
box-shadow: 0px 10px 20px 10px rgb(240, 240, 240);
cursor: pointer;
}
.qw-0051{
width: 85px;
height: 75px;
background: url(../images/image/icon-spr.png) no-repeat -100px -8px;
position: absolute;
top: 50px;
left: 60px;
}
.qw-0052{
font-size: 25px;
position: absolute;
top: 160px;
left: 50px;
}
.qw-0053{
width: 157px;
height: 40px;
position: absolute;
top: 210px;
left: 26px;
}
.qw-005:hover{
transform: translateY(-20px); /* 悬停时向上移动20像素 */
}
.qw-0054{
width: 85px;
height: 75px;
background: url(../images/image/icon-spr.png) no-repeat -288px -98px;
position: absolute;
top: 50px;
left: 60px;
}
.qw-0055{
font-size: 25px;
position: absolute;
top: 160px;
left: 26px;
}
.qw-0056{
width: 195px;
height: 50px;
position: absolute;
top: 210px;
left: 3px;
}
.qw-0005:hover{
transform: translateY(-20px);
}
.qw-0057{
width: 85px;
height: 75px;
background: url(../images/image/icon-spr.png) no-repeat -100px -110px;
position: absolute;
top: 50px;
left: 60px;
}
.qw-0058{
font-size: 25px;
position: absolute;
top: 160px;
left: 38px;
}
.qw-0059{
width: 195px;
height: 40px;
position: absolute;
top: 210px;
left: 2px;
}
.qw-00005:hover{
transform: translateY(-20px);
}
.qw-0053,.qw-0056,.qw-0059{
color: #989898;
}
.as{
width: 1473px;
height: 1000px;
background: url(../images/image/star-bg.jpg) no-repeat 0px 0px;
background-size: 1650px;
position: absolute;
top: 1147px;
z-index: 4;
}
.as-1{
width: 185px;
height: 150px;
background: url(../images/image/parent-main.png) 280px -389px;
position: absolute;
top: 260px;
left: 170px;
}
.as-3{
width: 306px;
height: 70px;
position: absolute;
top: 313px;
left: 320px;
}
.as-03{
font-size: 28px;
}
.as-003{
font-size: 18px;
position: absolute;
bottom: 0;
left: 0;
}
.as-4{
width: 565px;
height: 563px;
background: url(../images/picture/child-phone.png) no-repeat;
position: absolute;
top: 245px;
right: 10px;
}
.as-5{
width: 700px;
height: 300px;
/* background-color: chartreuse; */
position: absolute;
top: 445px;
left: 140px;
text-align: center;
}
.as-05 li{
width: 200px;
height: 300px;
background-color: rgb(255, 255, 255);
border-radius: 10px;
float: left;
margin-left: 33px;
transition: transform 0.5s; /* 平滑过渡效果 */
transform: translateY(0); /* 初始状态,不移动 */
box-shadow: 0px 10px 20px 10px rgb(240, 240, 240);
cursor: pointer;
}
.as-0051{
width: 85px;
height: 75px;
background: url(../images/image/icon-spr.png) no-repeat -100px -108px;
position: absolute;
top: 50px;
left: 60px;
}
.as-0052{
font-size: 25px;
position: absolute;
top: 160px;
left: 16px;
width: 175px;
}
.as-0053{
width: 157px;
height: 40px;
position: absolute;
top: 210px;
left: 26px;
}
.as-005:hover{
transform: translateY(-20px); /* 悬停时向上移动20像素 */
}
.as-0054{
width: 85px;
height: 75px;
background: url(../images/image/icon-spr.png) no-repeat -288px -8px;
position: absolute;
top: 50px;
left: 60px;
}
.as-0055{
font-size: 25px;
position: absolute;
top: 160px;
left: 12px;
width: 175px;
}
.as-0056{
width: 195px;
height: 50px;
position: absolute;
top: 210px;
left: 3px;
}
.as-0005:hover{
transform: translateY(-20px);
}
.as-0057{
width: 85px;
height: 75px;
background: url(../images/image/icon-spr.png) no-repeat -194px -95px;
position: absolute;
top: 50px;
left: 60px;
}
.as-0058{
font-size: 25px;
position: absolute;
top: 160px;
left: 12px;
width: 175px;
}
.as-0059{
width: 195px;
height: 40px;
position: absolute;
top: 210px;
left: 2px;
}
.as-00005:hover{
transform: translateY(-20px);
}
.as-0053,.as-0056,.as-0059{
color: #989898;
}
.foot{
width: 1473px;
height: 400px;
background: url(../images/image/foot-bg.png) no-repeat -147px 0 ;
background-size: cover;
position: absolute;
bottom: 0;
z-index: 11;
}
.foot-1{
width: 1200px;
height: 120px;
border-bottom: 1px solid rgb(188, 184, 184);
position: absolute;
bottom: 100px;
left: 170px;
color: #b4b8ba;
line-height: 35px;
}
.foot-1 .foot-2{
background: url(../images/image/tencent.png) no-repeat;
width: 242px;
height: 40px;
}
.foot-3{
position: absolute;
bottom: 30px;
font-size: 20px;
}
.foot-1 .qq-1{
position: absolute;
right: 0;
bottom: 10px;
float: right;
}
.foot-4{
width: 202px;
font-size: 25px;
position: absolute;
right: 0px;
bottom: 38px;
}
.foot-5{
width: 72px;
position: absolute;
right: 0px;
bottom: 75px;
font-size: 12px;
}
.foot-6{
width: 127px;
position: absolute;
right: 0px;
bottom: 5px;
font-size: 12px;
}
.hou{
font-size: 12px;
position: absolute;
bottom: 65px;
left: 500px;
color: #b4b8ba;
}