0
点赞
收藏
分享

微信扫一扫

前端期末大作业 HTML+CSS 动漫主题网页作业

📂文章目录

  • ​​二、📚网站介绍​​
  • ​​三、🔗网站效果​​
  • ​​▶️1.视频演示​​
  • ​​🧩 2.图片演示​​
  • ​​四、💒 网站代码​​
  • ​​🧱HTML结构代码​​
  • ​​🏠CSS样式代码​​
  • ​​五、🎁更多源码​​

二、📚网站介绍

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

📓网站程序方面:计划采用最新的网页编程语言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.视频演示

B27JP 名侦探柯南 三级(6页)

🧩 2.图片演示

前端期末大作业 HTML+CSS 动漫主题网页作业_html


前端期末大作业 HTML+CSS 动漫主题网页作业_html_02


前端期末大作业 HTML+CSS 动漫主题网页作业_web前端_03


前端期末大作业 HTML+CSS 动漫主题网页作业_web课程设计 网页规划与设计_04


前端期末大作业 HTML+CSS 动漫主题网页作业_css_05


前端期末大作业 HTML+CSS 动漫主题网页作业_前端_06

四、💒 网站代码

🧱HTML结构代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="web">
<div class="top">
<div class="logo"><img src="images/logo.jpg" /></div>
<div class="nav">
<ul>
<li><a href="index.html">网站首页</a></li>
<li><a href="renwu.html">热门人物</a></li>
<li><a href="tuijian.html">热门推荐</a></li>
<li><a href="denglu.html">会员登陆</a></li>
<li><a href="zhuce.html">会员注册</a></li>
</ul>
</div>
<div class="sous">
<form>
<input class="inut" />
<button class="btn"></button>
</form>
</div>
</div>

<div class="banner">
<img src="images/banner.jpg" />
</div>
<div class="box1">
<div class="bx">
<img src="images/img1.jpg" />
<p>热门连载</p>
</div>
<div class="bx">
<img src="images/img2.jpg" />
<p>最新更新</p>
</div>
<div class="bx">
<img src="images/img3.jpg" />
<p>新番动漫</p>
</div>
<div class="bx">
<img src="images/img4.jpg" />
<p>经典完结</p>
</div>
</div>
<div class="tit">热门动漫人物</div>
<div class="box2">
<div class="bx2">
<img src="images/img5.jpg" />
哆唻A梦
</div>
<div class="bx2">
<img src="images/img6.jpg" />
漩涡鸣人
</div>
<div class="bx2">
<img src="images/img7.jpg" />
江户川柯南
</div>
<div class="bx2">
<img src="images/img8.jpg" />
宇智波佐助
</div>
<div class="bx2">
<img src="images/img9.jpg" />
野比大雄
</div>
</div>
<div class="tit">经典动漫</div>
<div class="box3">
<div class="bx3">
<img src="images/img10.jpg" />
<p>哆啦A梦</p>
<p>ドラえもん</p>
</div>
<div class="bx3">
<img src="images/img11.jpg" />
<p>火影忍者</p>
<p>NARUTO -ナルト-</p>
</div>
<div class="bx3">
<img src="images/img12.jpg" />
<p>名侦探柯南</p>
<p>名探偵コナン</p>
</div>
</div>
<div class="tit">最新更新</div>
<div class="box4">
<div class="bx4">
<img src="images/img13.jpg" />
</div>
<div class="bx4">
<img src="images/img14.jpg" />
</div>
<div class="bx4">
<img src="images/img15.jpg" />
</div>
</div>
<div class="foot">
<p>Copyright©经典动漫网版权所有Rights Reserved.</p>
</div>
</div>
</body>
</html>

🏠CSS样式代码

body {
margin: 0 auto;
font-size: 12px;
font-family: "微软雅黑",arial;
line-height: 22px;
background: #e0ecfa;
}

div,p,input,li,h1,h2,h3,h4,h5 {
height: auto;
margin: 0;
padding: 0px;
vertical-align: middle;
}

li {
list-style: none;
}

a {
text-decoration: none;
color: #000;
}

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

.web {
width: 1140px;
height: auto;
overflow: hidden;
margin: 0 auto;
background: #FFF;
padding: 0px 30px;
}

.top {
height: 55px;
padding-top: 15px;
}

.logo {
width: 116px;
height: 39px;
float: left;
margin-right: 50px;
}

.nav {
width: 720px;
height: 39px;
float: left;
}

.nav ul {
padding: 0px;
margin: 0;
}

.nav ul li {
height: 39px;
line-height: 39px;
float: left;
margin: 0px 20px;
}

.nav ul li a {
font-size: 18px;
color: #000;
}

.sous {
width: 140px;
height: 39px;
float: right;
}

.inut {
width: 110px;
height: 39px;
border: none;
border-bottom: 1px solid #000;
float: left;
}

.btn {
width: 30px;
height: 30px;
background: url(../images/btn.jpg) no-repeat;
border: none;
margin-top: 10px;
}

.banner {
width: 1140px;
height: 364px;
margin-bottom: 25px;
}

.box1 {
width: 910px;
height: 90px;
margin: 0 auto;
margin-bottom: 40px;
}

.box1 .bx {
width: 88px;
height: 90px;
float: left;
margin: 0px 60px;
text-align: center;
font-size: 14px;
}

.box1 .bx img {
margin-bottom: 10px;
}

.tit {
height: 60px;
line-height: 60px;
padding-left: 20px;
font-size: 26px;
margin-bottom: 15px;
color: #464543;
}

.box2 {
height: 250px;
}

.box2 .bx2 {
width: 193px;
height: 250px;
float: left;
margin: 0px 17px;
text-align: center;
font-size: 16px;
}

.box2 .bx2 img {
margin-bottom: 15px;
}

.box3 {
height: 270px;
}

.box3 .bx3 {
width: 337px;
height: 270px;
float: left;
margin: 0px 18px;
}

.box3 .bx3 img {
margin-bottom: 10px;
}

.box3 .bx3 p {
line-height: 25px;
font-size: 16px;
}

.box4 {
height: 305px;
}

.box4 .bx4 {
width: 337px;
height: 305px;
float: left;
margin: 0px 18px;
}

.foot {
height: 123px;
background: #588fb8;
padding-top: 40px;
}

.foot p {
height: 30px;
line-height: 30px;
font-size: 14px;
color: #FFF;
text-align: center;
}

.title2 {
height: 60px;
line-height: 60px;
margin-bottom: 20px;
}

.title2 h1 {
font-size: 26px;
padding-left: 20px;
font-size: 26px;
margin-bottom: 15px;
color: #464543;
font-weight: normal;
}

.music {
width: 1140px;
height: 1050px;
}

.music ul {
padding: 0px;
}

.music ul li {
width: 206px;
height: 340px;
float: left;
margin: 0px 10px;
}

.music ul li img {
width: 206px;
height: 224px;
margin-bottom: 15px;
}

.music ul li h1 {
height: 25px;
line-height: 25px;
font-size: 14px;
font-weight: normal;
}

.music ul li h1 a {
color: #000;
}

.music ul li h2 {
height: 25px;
line-height: 25px;
font-size: 14px;
font-weight: normal;
color: #b3afaf;
}
/*--登陆注册---*/
.neir {
width: 1140px;
margin-bottom: 100px;
overflow: hidden;
}

.conr {
width: 380px;
height: 416px;
background: #cbe7fc;
margin: 0 auto;
}

.lewm {
width: 381px;
height: 381px;
}

.login {
width: 308px;
height: 300px;
margin: 0 auto;
padding-top: 30px;
}

.login-title {
height: 20px;
line-height: 20px;
font-size: 14px;
color: #3c3c3c;
padding-bottom: 20px;
font-weight: 700;
}

.txt {
width: 300px;
height: 40px;
border: #CCC 1px solid;
margin-top: 10px;
}

.txt .wez {
width: 40px;
height: 40px;
float: left;
}

.txt .input {
width: 240px;
float: left;
padding-left: 20px;
color: #666;
height: 40px;
border: none;
}

.txt .input2 {
width: 290px;
float: left;
padding-left: 10px;
color: #666;
height: 40px;
border: none;
}

.passw {
width: 300px;
height: 20px;
margin-top: 20px;
font-size: 12px;
}

.password {
float: left;
}

.passw a {
text-decoration: none;
color: #333;
}

.zhuce {
float: right;
}

.lbtn {
width: 300px;
font-size: 16px;
margin-top: 25px;
height: 42px;
border: 0;
overflow: hidden;
vertical-align: middle;
line-height: 42px;
color: #fff;
background: url(../images/ico7.png) no-repeat;
}

.jies {
width: 1140px;
height: auto;
overflow: hidden;
margin: 0 auto;
}

.lv-box {
height: 225px;
padding: 20px 0px;
}

.lv-box img {
width: 300px;
height: 203px;
float: left;
margin-right: 20px;
}

.lv-box-r {
width: 820px;
height: 225px;
float: left;
}

.lv-box .lv-tit {
font-size: 16px;
height: 40px;
line-height: 40px;
font-weight: bold;
}

.lv-box p {
font-size: 14px;
line-height: 30px;
float: left;
text-indent: 2em;
}

.lv-box a {
color: #000;
}

.lv-box span {
height: 50px;
line-height: 50px;
float: right;
margin-right: 20px;
}

.lv-box span a {
color: #F00;
}

.nr {
width: 1140px;
height: auto;
overflow: hidden;
background: #FFF;
padding-top: 20px;
padding-bottom: 20px;
}

.neititle {
height: 50px;
line-height: 50px;
font-size: 18px;
text-align: center;
border-bottom: #CCC 1px dashed;
margin-bottom: 20px;
}

.llbx1 {
height: auto;
overflow: hidden;
margin-bottom: 30px;
}

.img1 {
margin: 0px 20px;
float: left;
float: left
}

.img2 {
margin: 0px 20px;
float: left;
float: right;
}

.llbx1 p {
font-size: 16px;
line-height: 30px;
text-indent: 2em;
}

五、🎁更多源码

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

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

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


举报

相关推荐

0 条评论