首页 前端知识 HTML期末课程大作业:中华传统文化主题设计题题材【非遗文化14页】 web前端开发技术

HTML期末课程大作业:中华传统文化主题设计题题材【非遗文化14页】 web前端开发技术

2024-06-24 23:06:23 前端知识 前端哥 529 303 我要收藏

【作者主页——🔥获取更多优质源码】

【学习资料/简历模板/面试资料/ 网站设计与制作】

【web前端期末大作业——🔥🔥毕设项目精品实战案例】


# 一、👨‍🎓网站题目 🍵茶文化网站、🏳️‍🌈中华传统文化题材、京剧文化🔏水墨风书画、中国民间年画文化艺术网站 、等网站的设计与制作。

二、✍️网站描述

🏷️ 这个首页代码运用了DIV盒子的使用方法,如盒子的嵌套、浮动、margin、border、background等属性的使用,外部大盒子设定居中,内部左中右布局,下方横向浮动排列,大学学习的前端知识点和布局方式都有运用,CSS的代码量也很足、很细致,使用hover来完成过渡效果、鼠标滑过效果等,使用表格、表单补充模块,为方便新手学习, 个别源码页面中没有使用js有需要的可以自行添加。

🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)

  1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
  2. 所有页面相互超链接,可到三级页面,有5-10个页面组成。
  3. 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
  4. 菜单美观、醒目,二级菜单可正常弹出与跳转。
  5. 要有JS特效,如定时切换和手动切换图片轮播。
  6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
  7. 页面清爽、美观、大方,不雷同。 。
  8. 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。

三、📚网站介绍

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

📓网站程序方面:计划采用最新的网页编程语言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代码)。


四、🌐网站演示

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述


五、⚙️ 网站代码

🧱HTML结构代码



<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="css/all.css" rel="stylesheet"  media="all" type="text/css" />
<title>非遗</title>
</head>
<body>
<div class="banner">
<div class="c-banner">
	<div class="banner">
		<ul>
			<li><img src="images/201133058101657.jpg"></li>
			<li><img src="images/banner2.jpg"></li>
			
		</ul>
	</div>

	<div class="jumpBtn">
		<ul>
			<li jumpImg="0"></li>
			<li jumpImg="1"></li>
		</ul>
	</div>
</div>
</div>
<div class="menu">
  <ul class="center">
    <li><a href="index.html">主页</a></li>
    <li><a href="photo.html">相册</a></li>
    <li><a href="news.html">文章</a></li>
    <li><a href="about.html">网站信息</a></li>
  </ul>
  <p class="clear"></p>
</div>
<div class="content">
  <div class="bar">
    <h2>文章</h2>
  </div>
  <div class="pad">
    <div class="left"><img src="images/0.jpg"  width="100%"/> <br />
    </div>
    <div class="right">
      <h2>85后非遗传人隐居深山,千年窑火传承不熄</h2>
      <p>黑色框架眼镜,搭配卫衣、牛仔裤……陈振云的这身打扮,似乎很难将他跟隐居深山的非遗传人的身份联系起来。实际上,1986年出生的陈振云,已隐居深山7年,其间只干了一件事:柴火烧窑,手工制瓷。在陕西历史博物馆的“唐三彩”展区里,有一幅唐代瓷窑遗址分布图,将乐就是其中一处。将乐窑位于福建省三明市将乐县境内,始见商周,兴于唐代,盛在两宋,明清窑火不断,延续至今。</p>
      <a href="info2.html" class="more">阅读更多</a> </div>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
  <div class="bar">
    <h2>非遗乐器相册</h2>
  </div>
  <div class="tub">
    <ul>
      <li><a href="photo1.html"><img src="images/a1.jpg" /></a></li>
      <li><a href="photo1.html"><img src="images/a2.jpg" /></a></li>
      <li><a href="photo1.html"><img src="images/a5.jpg" /></a></li>
      <li><a href="photo1.html"><img src="images/a4.jpg" /></a></li>
      <li><a href="photo1.html"><img src="images/a3.jpg" /></a></li>
      <li><a href="photo1.html"><img src="images/a6.jpg" /></a></li>
      <li><a href="photo1.html"><img src="images/a7.jpg" /></a></li>
      <li><a href="photo1.html"><img src="images/a8.jpg" /></a></li>
    </ul>
    <div class="clear"></div>
  </div>
  
  <div class="bar">
   <h2>视频</h2>
  </div>
  
   <div class="imglist">
    <ul>
      <li><video controls="controls" width="100%">
        <source src="video/v.mp4" type="video/mp4" />
        Your browser does not support the video tag. </video> </li>
      <li><video controls="controls" width="100%">
        <source src="video/v2.mp4" type="video/mp4" />
        Your browser does not support the video tag. </video></li>
    </ul>    <div class="clear"></div>
  </div>
   <div style="text-align:center; padding-bottom:30px"> <a href="shipin.html" class="more">更多视频</a> </div>
  <div class="clear"></div>
</div>
<div class="end">
  <p>www.www.www</p>
</div>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.js"></script>
</body>
</html>


💒CSS样式代码


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

div{}
ul,li,h1,h2,h3,p{ padding:0; margin:0; list-style:none}
a{ text-decoration:none}
html{ background:url(../images/timg.jpg)}
body{ width:960px;  background:rgba(0,0,0,0.8); margin:0 auto; line-height:21px}
.clear{ clear:both}
.menu li{ list-style:none}
.logo{ position:absolute; top:50px; width:250px; height:100px; margin-left:40px}
.banner{ position:relative; margin-top:0px;}
.banner img{ display:block}
.menu{ width:100%; text-align:center; float:left; background:#c53333}
.menu li a{ color:#fff}
.menu li { border-radius:10px; float:left; margin:12px; font-size:18px; padding:8px 13px ; width:185px; font-weight:bold}

.right{ float:right; width:480px; padding:10px}
.right h2{ margin:20px 0}
.left{  float:left; width:380px; margin-left:10px; padding:10px}
.content { padding-bottom:20px; font-size:16px; line-height:28px; clear:both; padding-top:10px; display:block ; color:#fff;}
.more{-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;padding:0 20px; line-height:40px; background:#c53333; color:#fff; display:inline-block; margin-top:30px}
.end{ clear:both; background:#c53333; color:#fff; padding:30px 0; text-align:center;}
.produce img{  margin:0 20px 20px 0}
.produce { line-height:30px}
.pad{ padding:20px; display:block}
.pics p{ margin:1px; text-align:center}
.txt{ margin:20px 100px; text-align:center}
.imglist{ width:96%; margin:0 auto}
.imglist li a{ color:#fff}
.imglist li{ float:left; width:440px;  margin:10px ; margin-top:30px; text-align:center}
.scrollleft{ margin:2%}
.scrollleft li{ float:left; width:47.5%; margin:1%; border:#CC9900 solid 1px}
.scrollleft li img{ float:left; margin-right:20px;}
.news li{ padding:5px;}
.imglist h2{ margin-top:30px; font-weight:normal; padding-bottom:30px}
.title{ text-align:center; color:#F00; padding:10px; padding-bottom:20px; margin-bottom:20px; border-bottom:#999999 solid 1px}
.fl{ float:left}
.ac{ padding:0 50px}
.ac h3{ margin:20px 0}
.js  div{ width:100%; clear:both; margin-bottom:20px; float:left}
.bar h2:after{ content:''; display:block; width:60px; border-bottom:#c53333 solid 3px; position:absolute; left:50%; bottom:-20px; margin-left:-30px;}
.bar h2{ position:relative;}
.js div img{ float:left; margin-right:20px} 
.msg>div{ padding:10px}
.tub { margin:0 20px}
.tub li img{ width:100%; height:144px; display:block}
.tub li{ width:21%; background:#111; padding:1%; margin:20px 1% ; float:left; text-align:center; color:#FFFF00}
.tub li a{ color:#fff; font-size:18px}
.bar{ margin:20px; clear:both; text-align:center; color:#fff; font-size:18px; font-weight:bold; padding:12px;}
.feedback{ padding:30px; background:#a6957b;}.feedback span{ float:left;}
.msg h4{ margin-bottom:0; font-size:18px; font-weight:normal}
.msg{ background:rgba(0,0,0,0.6); width:400px; margin:15px auto; clear:both}
.cls{ width:300px; margin:0 auto !important; text-align:left}
.cls input.shu{ width:100%; outline:none; color:#fff; background:none; border:none; padding:10px 0; border-bottom:#fff solid 1px}
.shu2{ background:#fff; border:none; padding:10px 0; width:100%}
.img{ position:absolute; width:600px; height:400px; left:50%; top:50%; text-align:center; display:table;align-items:center; margin-left:-300px; margin-top:-200px}
.img div{ vertical-align:middle; display:table-cell}
.img div img{ max-width:100%; max-height:100%;}
.photo{ position:fixed; width:100%; left:0; top:0; height:100%; z-index:55}
.mask{ position:fixed; left:0; top:0; width:100%; background:rgba(0,0,0,.85); height:100%; z-index:44}

.close{ display:inline-block; width:140px; padding:15px 0; display:inline-block; background:#c53333; color:#fff ; text-align:center; position:fixed; bottom:0; font-weight:bold; font-size:18px; margin-top:220px; left:50%; margin-left:-70px; cursor:pointer;-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;}
.close:hover,.more:hover{ background:#FF6600}

.c-banner{
	width: 100%;
	position: relative;
}
.c-banner img{
	width: 100%;
}
.c-banner .banner ul{
	list-style: none;
	padding-left: 0px;
	margin-bottom: 0px;
}
.c-banner .banner ul li{
	position: absolute
	display: none;
	opacity: 0;
}
.c-banner .banner ul li:nth-child(1){
	opacity: 1;
	display: block;
}
.c-banner .banner ul li img{
	width: 100%;
	position: absolute; height:450px;object-fit:cover;
	top: 0px;
}
.c-banner .banner ul li:first-child img{
	position: relative;
}
.c-banner .nexImg,.c-banner .preImg{
	padding: 25px 10px 25px 10px;
	position: absolute;
	top: 50%;
	margin-top: -53px;
	background: #000000;
	opacity: 0.5;
	border-radius: 5px;
	z-index: 10;
	
}
.c-banner .nexImg:hover,.c-banner .preImg:hover{
	opacity: 0.8;
}
.c-banner .nexImg{
	right: 0px;
}
.c-banner .nexImg img,.c-banner .preImg img{
	
	
}
.c-banner .jumpBtn{
	width: 100%;
	position: absolute;
	bottom: 20px;
	text-align: center;
}
.c-banner .jumpBtn ul{
	margin-bottom: 0px;
	padding: 0px;
}

.c-banner .jumpBtn ul li{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-block;
	background-color: white;
	opacity: 0.9;
	margin-left: 10px;
}
.c-banner .jumpBtn ul li:first-child{
	margin-left: 0px;
}
.clearfix:after{ clear:both; display:block}



六、🥇 如何让学习不再盲目

第一、带着目标去学习,无论看书报课还是各种线下活动。
首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。

第二、学习要建立个人知识体系
知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识

第三、学到了就要用到

有时,我们一天下来感觉学到了很多干货,那么我们一定要将这些知识点和实际工作和生活联系起来。知识和实践相互联系靠拢。爱学习是一件好事,但只有会学习的人,才有价值。


七、🎁更多干货

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

2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!

3.

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

转载请注明出处或者链接地址:https://www.qianduange.cn//article/13459.html
评论
发布的文章

Markdown基础与进阶语法

2024-06-30 22:06:12

零基础 HTML 入门(详细)

2024-06-30 22:06:09

CSS3基本语法

2024-06-30 22:06:51

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!