Web前端开发技术课程大作业,期末考试(英雄联盟LOL游戏静态网站制作 )

一、作品介绍

HTML实例网页代码, 本实例适合于初学HTML的同学。该实例里面有设置了css的样式设置,有div的样式格局,这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。


二、作品效果

▶️视频演示

https://live.csdn.net/v/embed/240004

(title-H32JP- 英雄联盟js登录联系(5页))]

截图演示

05.png
04.png
03.png
02.png
01.png


三、 作品代码

HTML代码






英雄联盟






< >

英雄联盟简介

游戏背景

  近200年来的战争和纷争导致魔法滥用,英雄们打造出大部分魔法物品率领部队厮杀。从未考虑过无止境的滥用魔法会给这片大陆的环境带来怎么样的灾难。人们终于意识到世界已经承受不起符文之战的破坏。为了回应世界上不断恶化的政治和经济危机,瓦罗兰的大法师们达成共识,他们成立了一个叫英雄联盟的组织,英雄联盟决定所有的纷争和争斗都必须通过设立在瓦罗兰各地的竞技场来处理。这些英雄们带领着小兵进行战斗,这些小兵由水晶枢纽制造。它们也将在竞技场内中和英雄们一起战斗,达成任务目标获取胜利。而胜利条件是摧毁对方的水晶枢纽或对方主动投降。

地图资料

游戏中目前拥有4个地图,它们分别是召唤师峡谷(新版)、扭曲丛林、水晶之痕、嚎哭深渊。召唤师峡谷:瓦罗兰大陆最古老的战场,继承了DotA地图的主要特征,整体为魔幻森林风格,色调以绿色为主。地图左下角和右上角各1个基地之间有3条线路(各包含6座防御塔,每边3座)相连,兵线之间以野区相隔,又有一条河道从左上连至右下,最终野区被分区为4个部分,野区内生活着各种中立生物。整个地图大致呈中心对称。可容纳每边最多5名英雄。

CSS代码

@charset "utf-8";
/* CSS Document */

body{ margin:0 auto; font-size:12px; font-family: "宋体",arial; line-height:22px;   }


div,p,input,ul,li,p,h1,h2,h3,h4,h5,h6,dl,dt,dd{ height:auto; margin:0;; padding:0; vertical-align:middle ;}

li{ list-style:none;}

a{ text-decoration:none;}

.ul{ list-style:none;}

.divclear{ clear:both;}

img{ border:0; margin:0; padding:0;}

 a{color:#333;}

 a:link{ color:#333;}

 a:hover {color:#629705;text-decoration:none;overflow:hidden;}

/*---网页开始-----*/
/*---top开始-----*/
.top{ height: 110px;width: 1366px;margin: 0 auto;  text-align:center; }
.ban{ height: 224px;
width: 1366px;
margin: 0 auto;
margin-bottom:10px;}

/*---top结束-----*/
/*---导航----*/
.daohang{width: 1366px; height: 50px;   margin: 0 auto; background: #000000;}
#nav{ width:1170px; height:50px; line-height:50px; font-family:"微软雅黑"; margin:0 auto; }

#nav ul{  margin:0 auto; }

#nav li{float: left;
width:230px;
text-align: center;
color: #FFF;
}

#nav a{width:230px;height:50px; display:block; font-size:24px;  float:left; color:#ebba20; text-align:center;}
.box {
    width: 1366px;
    height:400px;
    margin:0 auto;
    margin-bottom:10px;
    
        }
        .inner{
    width: 1366px;
    height:400px;
    position: relative;
    overflow: hidden;
        }
        .inner img{
           width: 1366px;
    height:400px;
            vertical-align: top
        }
        .inner ul {
            width: 1000%;
            position: absolute;
            list-style: none;
            left:0;
            top: 0;
        margin:0px;
        padding:0px;
        }
        .inner li{
            float: left;
 
        }
 
        ol {
    position: absolute;
    height: 20px;
    right: 20px;
    bottom: 12px;
    text-align: center;
    padding: 5px;
        }
        ol li{
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background-color: #fff;
    margin: 5px;
    cursor: pointer; 
        }
        ol .current{
            background-color: red;
        }
        #arr{
    display: block;
        }
        #arr span{
    width: 30px;
    height: 40px;
    position: absolute;
    left: 14px;
    top: 156px;
    margin-top: -20px;
    background: #fff;
    cursor: pointer;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-family: '黑体';
    font-size: 30px;
    color: #000;
    opacity: 0.5;
    border: 1px solid #fff;
        }
        #arr #right {
    right: 18px;
    left: auto;
        }
.main{ width:1366px; min-height:590px; height:auto;overflow:hidden; margin:0 auto; }
.sleft{ width:380px; height:570px; float:left; margin-right:15px; }
.sleft .stitle{ width:370px; padding-left:10px; height:76px; padding-top:20px; background:#f8f8f8; margin-bottom:5px; }
.sleft .stitle p{ font-size:18px; color:#3c3c3c;}
.sright{ width:921px; padding:25px; height:540px; float:left; background:#f8f8f8}
.sright .box1{ width:921px; height:250px; }
.sright .box1 img{ width:440px; height:248px; float:right; margin-left:30px;}
.sbox1 .wen{ width:450px; float:left; margin-right:20px;}
.sbox1 h1{ color: #3c3c3c;
font-size: 24px;
width: 100%;
margin-bottom:20px;}
.sbox1 p{ display: block;
font-size: 16px;
width: 100%;
line-height:27px;}

.sright .sbox2{ width:921px; height:257px; margin-top:30px;}

.sright .sbox2 img{ width:447px; height:253px; float:left; margin-right:30px;}
.sbox2 .wen{ width:440px; float:left;}
.sbox2 h1{ color: #3c3c3c;
font-size: 24px;
width: 100%;
margin-bottom:20px;}
.sbox2 p{ display: block;
font-size: 16px;
width: 100%;
line-height:27px;}



.left{ width:380px; height:570px; float:left; margin-right:15px; }
.left .title{ width:370px; padding-left:10px; height:56px; padding-top:40px; background:#f8f8f8; margin-bottom:5px; }
.left .title h1{ font-size:36px; color:#141414; text-align:center; }
.right{ width:921px; padding:25px; min-height:540px; height:auto; overflow:hidden; float:left; background:#f8f8f8; color:#141414; font-size:18px; font-family:"微软雅黑"; line-height:36px;}
.right p{ text-indent:2em;}
.sheshi{ width: 940px;
height: 500px;}
.sheshi ul{ }
.sheshi ul li{ width: 290px;
height: 220px;
float: left;
padding: 10px;
text-align: center;}
.sheshi ul li img{ width:280px; height:185px;}
.sheshi ul li h1{ color:#141313; height:40px; font-weight:normal; font-size:24px;}
.lianxi{ width:700px; height:285px; margin-top:90px; margin-left:125px;}
.lianxi img{ width:264px; height:264px; float:left; margin-right:65px;}
.lianxi p{ color:#141414; height:40px; line-height:40px;}
.content{ width:100%; text-align:center; height:auto; overflow:hidden; margin:10px 0px;}
.zhuce{ width:590px; height:auto; overflow:hidden; margin:0 auto;}
.one{margin:10px 0}
.one label{width:100px;float:left;text-align:right;height:20px;line-height:40px}
.one input{border:1px solid #ccc;height:20px}.two{padding-left:100px}
.reda{color:red}.a2{width:100px;margin-left:5px;padding:2px;background:#ccc}
.error{background:#ccc url(../images/error.gif) no-repeat;padding-left:25px;padding-right:3px}
.righta{background:#ccc url(../images/righta.gif) no-repeat;padding-left:25px;padding-right:3px}
.btn{background: #ffb72f;
width: 50px;
border: none;
padding: 3px;
color: #fff;}
/*---bottom结束-----*/
.bottom{ width: 1366px;margin: 0 auto;margin-top: 20px; height:143px; background:#000000; }
.bottom img{float:right; margin-right:20px; margin-top:20px;}
.bottom .daoh{ color:#111111; width:700px; float:left; height:50px; margin-top:50px;}
.bottom .daoh ul{ }
.bottom .daoh ul li{ width:100px; height:50px; float:left;  font-size:18px; line-height:50px; background:url(../images/jiange.png) right no-repeat; text-align:center;}
.bottom .daoh ul li a{ color:#ebba20;}
/*---bottom结束-----*/




























四、更多源码

【干货分享】自学编程的小伙伴可以前往我的 gitee 仓库(持续更新中...)

【web学习指南】从web基础、计算机基础到前端常用框架的教程,涵盖前端大部分必备知识(学习指南 + 技术文章 + 资源分享)

Gitee仓库地址(来个Star吧~): https://gitee.com/zhanyuqiu2022/my-app

你可能感兴趣的:(Web前端开发技术课程大作业,期末考试(英雄联盟LOL游戏静态网站制作 ))