<!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>
* {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
html,body {
width: 100%;
height: 100%;
}
.box {
position: relative;
width: 100%;
height: 100%;
background-image:url(./img/0.jfif);
background-position: -196px 0;
}
.top {
width: 100%;
height: 90px;
background-color: rgba(0, 0, 0, 0.6);
}
.top .one {
float: left;
width: 200px;
height: 100px;
background-image: url(./img/icon\(1\).png);
background-position: 0px -30px;
margin-left: 110px;
}
.top ul li {
width: 130px;
height: 100px;
list-style: none;
float: left;
font-size: 20px;
line-height: 100px;
text-align: center;
}
.top ul li a {
color: azure;
}
.top ul li:last-child {
margin-right: 80px;
}
.top .search {
margin-top: 35px;
margin-right: 20px;
float: left;
width: 32px;
height: 27px;
background-image: url(./img/icon\(1\).png);
background-position: -700px 0px;
}
.top .iph {
margin-top: 35px;
margin-right: 30px;
float: left;
width: 21px;
height: 30px;
background-image: url(./img/icon\(1\).png);
background-position: -737px 0px;
}
.top .ide {
margin-top: 10px;
margin: 10px;
float: left;
width: 74px;
height: 71px;
background-image: url(./img/icon\(1\).png);
background-position: -691px -171px;
}
.top p {
color: azure;
line-height: 100px;
white-space: nowrap;
}
.top p a {
color: gold;
}
.center {
position: absolute;
bottom: 100px;
left: calc(50% - 75px);
width: 150px;
height: 26px;
text-align: center;
white-space: nowrap;
font-size: 14px;
line-height: 26px;
background-color: rgba(0, 0, 0, 0.6);
border: 3px solid goldenrod;
}
.center a {
color: bisque;
}
.bottom {
box-sizing: border-box;
width: 270px;
height: 26px;
background-color: transparent;
position: absolute;
bottom: 30px;
right: 100px;
}
.bottom .left {
font-size: 15px;
float: left;
color: beige;
}
.bottom .right {
float: right;
width: 82px;
height: 26px;
text-align: center;
white-space: nowrap;
background-color: rgba(0, 0, 0, 0.6);
border: 3px solid goldenrod;
}
.bottom .right a {
height: 26px;
font-size: 13px;
line-height: 26px;
color: bisque;
}
</style>
</head>
<body>
<div class="box">
<div class="top">
<div class="one"></div>
<ul>
<li><a href="#">游戏资料</a></li>
<li><a href="#">商城合作</a></li>
<li><a href="#">用户互动</a></li>
<li><a href="#">赛事中心</a></li>
<li><a href="#">自助系统</a></li>
</ul>
<span class="search"></span>
<span class="iph"></span>
<span class="ide"></span>
<p>亲爱的召唤师,欢迎<a href="#">登录</a></p>
</div>
<div class="center"><a href="#">查看详情</a></div>
<div class="bottom">
<div class="left">当前游戏版本:Ver 12.9</div>
<div class="right"><a href="#">版本详情</a></div>
</div>
</div>
</body>
</html>
仿英雄联盟主页
最新推荐文章于 2024-07-24 13:45:34 发布