🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: ​​​【进入主页—🚀获取更多源码】​​​ 🎓 web前端期末大作业: ​​【📚HTML5网页期末作业 (1000套) 】​​ 🧡 程序员有趣的告白方式:​​【💌HTML七夕情人节表白网页制作 (110套) 】​


📂文章目录


二、📚网站介绍

📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。

📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。

📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;

📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:​​Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++​​​ 等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)📜html文件包含:其中index.html是首页、其他html为二级页面;
(2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;
(3)📄 js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。


三、🔗网站效果

▶️1.视频演示

H31JP-绝地求生-吃鸡-5页 html+css

🧩 2.图片演示

用DIV+CSS技术设计的游戏企业网页(网页制作课作业)_web前端期末大作业


用DIV+CSS技术设计的游戏企业网页(网页制作课作业)_web_02


用DIV+CSS技术设计的游戏企业网页(网页制作课作业)_web前端期末大作业_03


用DIV+CSS技术设计的游戏企业网页(网页制作课作业)_前端_04


用DIV+CSS技术设计的游戏企业网页(网页制作课作业)_web前端期末大作业_05


四、💒 网站代码

🧱HTML结构代码

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>游戏</title>
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div id="header">
<div class="wrapper clearfix">
<div id="logo"> <a href="index.html"><img src="images/logo.png" alt="LOGO" width="120"></a> </div>
<ul id="navigation">
<li class="selected"> <a href="index.html">首页</a> </li>
<li> <a href="about.html">介绍</a> </li>
<li> <a href="blog.html">资讯</a> </li>
<li> <a href="gallery.html">图片</a> </li>
<li> <a href="contact.html">联系作者</a> </li> |
</ul>
</div>
</div>
<div id="contents">
<div id="adbox">
<div class="wrapper clearfix">
<div class="info"> </div>
</div>

</div>
<div class="body clearfix">
<div class="">
<p>吃鸡即大吉大利,晚上吃鸡简称,网络流行词,该词最早来源于电影《决胜21点》,随后在游戏《绝地求生:大逃杀》而火遍网络,当你获得第一名的时候就会有一段台词出现:“大吉大利,晚上吃鸡”,所以,“吃鸡”即指玩家在《绝地求生:大逃杀》等逃杀类游戏中取得第一。</p>

</div>
</div>
</div>
<div id="footer">
<ul id="featured" class="wrapper clearfix">
<li> <img src="images/astronaut.jpg" alt="Img" height="204" width="220">
<h3><a href="blog.html">游戏截图</a></h3>

</li>
<li> <img src="images/earth.jpg" alt="Img" height="204" width="220">
<h3><a href="blog.html">游戏截图</a></h3>

</li>
<li> <img src="images/spacecraft-small.jpg" alt="Img" height="204" width="220">
<h3><a href="blog.html">游戏截图</a></h3>
</li>
<li> <img src="images/space-shuttle.jpg" alt="Img" height="204" width="220">
<h3><a href="blog.html">游戏截图</a></h3>
</li>
</ul>
<div class="body">
<p >版权所有</p>
</div>
</div>
</body>
</html>

🏠CSS样式代码

/* Website template from cssmoban.com */
@font-face {
font-family: 'PTSerif-Caption';
src: url('../fonts/PT_Serif-Caption-Web-Regular.eot');
src: local('☺'), url('../fonts/PT_Serif-Caption-Web-Regular.woff') format('woff'), url('../fonts/PT_Serif-Caption-Web-Regular.ttf') format('truetype'), url('../fonts/PT_Serif-Caption-Web-Regular.svg') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background: url(../images/bg-body.jpg) repeat left top;
font-family: Arial, Helvetica, sans-serif;
min-width: 960px;
margin: 0;
}
img {
border: 0;
}
.wrapper {
width: 960px;
margin: 0 auto;
}
.clearfix:after {
clear:both;
content:"";
display:block;
height:1%;
line-height:0;
visibility:hidden;
}
/*------------------------------ HEADER ------------------------------*/
.btn1, .btn2, .btn3, #newsletter input {
background: url(../images/interface.png) no-repeat;
}
.btn1, .btn2, .btn3 {
color: #fdfdfd;
display: inline-block;
font-size: 14px;
font-weight: bold;
text-align: center;
text-decoration: none;
text-shadow: -3px 0 3px #053131;
text-transform: uppercase;
}
.btn1 {
background-position: 0 0;
height: 34px;
line-height: 34px;
width: 202px;
padding: 0 3px 9px;
}
.btn2 {
background-position: 0 -53px;
height: 37px;
line-height: 37px;
width: 216px;
padding: 0 3px 8px;
}
.btn3 {
background-position: 0 -108px;
font: 22px/49px Georgia, "Times New Roman", Times, serif;
height: 49px;
width: 222px;
}
.btn1:hover {
background-position: -222px 0;
}
.btn2:hover {
background-position: -232px -53px;
}h1 {
color: #addcfe;
font-style: italic;
line-height: 36px;
margin: 18px 0;
}
/** adbox **/
#adbox {
background: #020a13 url(../images/bg-adbox.jpg) no-repeat center top;
font-family: Georgia, "Times New Roman", Times, serif;
min-height: 433px;
margin: -56px 0 22px;
/** Needed for IE7 **/
*margin: 0;
*position: relative;
*top: -56px;
}
#adbox .wrapper {
width: 940px;
padding: 54px 10px 26px;
}
#adbox .info {
height: 354px;
width: 330px;
overflow: hidden;
}
#adbox h1 {
color: #ffffff;
font-size: 48px;
font-style: italic;
line-height: 50px;
margin-bottom: 30px;
}
#adbox p {
color: #176eb0;
font-size: 14px;
line-height: 24px;
}
#adbox p a {
color: #176eb0;
}
#adbox div.highlight {
background: #171a1a url(../images/adbox-bg-heading.jpg) repeat-x left top;
min-height: 82px;
border-color: #000;
border-style: solid none;
border-width: 1px;
}
#adbox div.highlight h2 {
color: #484b4b;
font-size: 34px;
line-height: 82px;
width: 940px;
margin: 0 auto;
padding: 0 10px;
text-shadow: -3px 0 3px #121413;
}
#adbox div.highlight h2 i {
font-weight: normal;
}
/** main **/
.main {
padding: 0 10px;
}
/** sidebar **/
#sidebar {
float: right;
width: 220px;
margin: 0 10px 0 80px;
}
#sidebar ul {
list-style: none;
margin: 0 0 80px;
padding: 0;
}
#sidebar > ul li {
margin: 0 0 16px;
}
#sidebar > ul li img {
border: 4px solid #fff;
border-radius: 3px;
}
#sidebar > ul li a:hover {
filter:alpha(opacity=80);
opacity:0.8;
}
#sidebar .click-here {
background: url(../images/spacecraft-dark.jpg) no-repeat center top;
display: inline-block;
height: 162px;
width: 221px;
margin-left: 20px;
text-align: center;
}
/** time **/
.time {
color: #2986bb;
font-size: 12px;
}
/** list **/
.list {
list-style: none;
margin: 0;
padding: 0;
}
.list li span.time {
float: right;
margin-top: 6px;
}
.list li h4 {
color: #fbfdfd;
font-size: 16px;
line-height: 24px;
margin: 0;
text-transform: uppercase;
}
.list li {
padding: 0 0 48px;
}
#contents .list li p {
padding: 0;
}
.list li a.more {
float: right;
color: #34b0fb;
display: inline-block;
font-size: 14px;
}
.list li a.more:hover {
color: #c3e9fe;
}
/** pagination **/
.pagination {
display: inline-block;
list-style: none;
margin: 0;
padding: 0;
}
.pagination li {
float: left;
font: 12px Arial, Helvetica, sans-serif;
margin: 0 2px;
}
.pagination li a {
color: #36b4fd;
padding: 3px;
text-decoration: none;
}
.pagination li a:hover, #pagination li.selected a {
color: #95d3f9;
}
/** gallery **/
;
text-align: center;
}
#featured li h3 {
color: #07304d;
font-size: 18px;
margin: 18px 0;
}
#featured li h3 a {
color: #07304d;
text-decoration: none;
}
#featured li h3 a:hover {
color: #51a9e9;
}
#featured li p {
color: #07304d;
font-size: 12px;
text-align: center;
}
/** links **/
#links {
float: left;
width: 460px;
margin: 0 10px;
}
#links > div {
float: left;
width: 230px;
}
#links ul {
list-style: none;
width: 178px;
margin: 0;
padding: 0;
}
#links ul li {
background: url(../images/border-footer.png) repeat-x left bottom;
margin: 0 0 6px;
padding: 3px 0 8px;
}
#links ul li:first-child {
padding-top: 0;
}
#links ul li a {
color: #7890a1;
font-size: 12px;
line-height: 24px;
text-decoration: none;
}
#links ul li a:hover {
color: #e8eff4;
}
/** newsletter **/
#newsletter {
float: left;
width: 460px;
margin: 0 10px 10px;
}
#newsletter form {
display: inline-block;
}
#newsletter input {
float: left;
font: 12px/36px "Palatino Linotype", "Book Antiqua", Palatino, serif;
height: 36px;
border: 0;
margin: 0;
padding: 0;
}
#newsletter input[type='text'] {
background-position: 0 bottom;
width: 282px;
margin-right: 24px;
padding-left: 6px;
padding-right: 6px
}
#newsletter input[type='submit'] {
background-position: -304px bottom;
color: #fff;
cursor: pointer;
width: 102px;
}
#newsletter input[type='submit']:hover {
background-position: right bottom;
}
#footer .footnote {
float: right;
display: inline-block;
color: #03436f;
width: 460px;
margin-right: 10px;
}

五、🎁更多源码

1.如果我的博客对你有帮助 ​​请 “👍点赞” “✍️评论” “💙收藏” ​​一键三连哦!

2.​​💗【👇🏻👇🏻👇🏻🉑关注我| 获取更多源码】 ​​带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、等!

📣以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻