仿英雄联盟主页

<!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>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值