HTML+CSS+JS网页设计期末课程大作业(中国京剧文化网站设计题材)
🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: 【进入主页—🚀获取更多源码】
🎓 web前端期末大作业: 【📚HTML5网页期末作业 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
📂文章目录
- 二、📚网站介绍
- 三、🔗网站效果
- ▶️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.视频演示
N32JP- 京剧文化5页 html+css+js
🧩 2.图片演示





四、💒 网站代码
🧱HTML结构代码
DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link type="text/css" rel="stylesheet" href="css/css.css" />
<title>京剧文化title>
head>
<body style=" background:#fff;">
<header class="head"><div class="main"><div class="logo lt"> <img src="images/logo.jpg"> div><nav class="nav rt"><ul><li class="lt"><a href="index.html">首页a>li><li class="lt"><a href="jieshao.html">角色介绍a>li><li class="lt"><a href="pic.html">图片欣赏a>li><li class="lt"><a href="zhuce.html">注册a>li><li class="lt"><a href="denglu.html">登录a>li>ul><div class="clear">div>nav><div class="clear">div>div>
header>
<div class="banner"><div class="top_img"><div class="focus" id="focus"><div id="focus_m" class="focus_m"><ul><li style="display:block"> <img src="images/banner33.jpg" width="100%" /> li><li style="display:none"> <img src="images/banner22.jpg" width="100%" /> li><li style="display:none"> <img src="images/banner11.jpg" width="100%" /> li>ul>div><a href="javascript:;" class="focus_l" id="focus_l" title="上一张"><b>b><span>span>a> <a href="javascript:;" class="focus_r" id="focus_r" title="下一张"><b>b><span>span>a> div>div>
div><script type="text/javascript" src="js/js.js">script>
<div class="jiesao main"><div class="titi"><h3>京剧 (戏曲剧种)h3>div><div class="left lt"> <img src="images/a11.jpg" alt=""> div><div class="rii rt"> 京剧,又称平剧、京戏等,是中国影响最大的戏曲剧种,分布地以北京为中心,遍及全国各地。 <br><br>
清代乾隆五十五年(1790年)起,原在南方演出的三庆、四喜、春台、和春 [1] 四大徽班陆续进入北京,与来自湖北的汉调艺人合作,同时接受了昆曲、秦腔的部分剧目、曲调和表演方法,又吸收了一些地方民间曲调,通过不断的交流、融合,最终形成京剧。<br><br>京剧在文学、表演、音乐、舞台美术等各个方面都有一套规范化的艺术表现形式。京剧的唱腔属板式变化体,以二簧、西皮为主要声腔。京剧伴奏分文场和武场两大类,文场以胡琴为主奏乐器,武场以鼓板为主。 <br><br>
京剧的角色分为生、旦、净、丑、杂、武、流等行当,后三行已不再立专行。各行当都有一套表演程式,唱念做打的技艺各具特色。京剧以历史故事为主要演出内容,传统剧目约有一千三百多个,常演的在三四百个以上。 <br><br>京剧流播全国,影响甚广,有“国剧”之称。以梅兰芳命名的京剧表演体系被视为东方戏剧表演体系的代表,为世界三大表演体系之一。京剧是中华民族传统文化的重要表现形式,其中的多种艺术元素被用作中国传统文化的象征符号。div><div class="clear"> div>
div>
<div class="list"><div class="main"><div class="titi"><h3>图片展示h3>div><ul><li><div class="box"><div class="pic"> <img src="images/a33.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li><li><div class="box"><div class="pic"> <img src="images/a44.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li><li><div class="box"><div class="pic"> <img src="images/a55.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li><li><div class="box"><div class="pic"> <img src="images/a66.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li><li><div class="box"><div class="pic"> <img src="images/a77.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li><li><div class="box"><div class="pic"> <img src="images/a88.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li><li><div class="box"><div class="pic"> <img src="images/a99.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li><li><div class="box"><div class="pic"> <img src="images/a10.jpg" alt=""> div>div><div class="text"><h3>京剧h3>div>li>ul><div class="clear"> div>div>
div>
<footer class="foot"> 京剧文化传承 footer>
body>
html>
🏠CSS样式代码
/*通用类*/
* {margin: 0;padding: 0;
}body {min-width: 1200px;margin: 0 auto;font-size: 14px;background: #fff;text-align: justify;color: #010000;position: relative;}
h1, h2, h3 {font-weight: 500;
}
img {border: none;
}
a {cursor: pointer;color: #333;text-decoration: none;outline: none;
}ul {list-style-type: none;
}
em {font-style: normal;
}
.lt {float: left;
}
.rt {float: right;
}.clear {font: 0px Arial;line-height: 0;height: 0;overflow: hidden;clear: both;
}/*wrapin 主体容器宽度*/
.main {width: 1200px;margin-left: auto;margin-right: auto;
}
/*公用CSS 开始*//*header 开始*/.head{background-color: rgba(255,255,255,1);
}
.logo{width: 250px;height: 100px;
}.logo img{width: 100%;height: 100%;object-fit: contain;
}
.nav ul li{padding: 0 30px;line-height: 110px;
}
.nav ul li a{font-size:18px;display: inline-block;font-weight:bold}.nav ul li:hover{background-color: #000;
}.nav ul li:hover a{color: #fff;
}
.banner{margin-top: 0px;
}
.banner img{width: 101%;height: 700px;display: block;object-fit: cover;
}.zuofu{position: fixed;left: 0;top: 30%;z-index: 99;
}.zuofu img{width: 100px;height: 300px;
}.zuofu1{position: fixed;right: 0;top: 20%;z-index: 99;
}.zuofu1 img{width: 100px;height: 300px;
}
.zuofu1{
animation: myfirst 4s;
-moz-animation: myfirst 4s; /* Firefox */
-webkit-animation: myfirst 4s; /* Safari 和 Chrome */
-o-animation: myfirst 4s; /* Opera */
animation-iteration-count: infinite;
}@keyframes myfirst
{
0% {top: 20%;}
25% {top: 22%;}
50% {top: 24%;}
75% {top: 22%;}
100% {top: 20%;}}.zuofu{
animation: myfirst1 4s;
-moz-animation: myfirst1 4s; /* Firefox */
-webkit-animation: myfirst1 4s; /* Safari 和 Chrome */
-o-animation: myfirst1 4s; /* Opera */
animation-iteration-count: infinite;}@keyframes myfirst1
{
0% {top: 20%;}
25% {top: 22%;}
50% {top: 24%;}
75% {top: 22%;}
100% {top: 20%;}}.list ul{margin-left: -10px;margin-right: -10px;margin-top: 30px;
}
.list ul li{width: 25%;padding: 0 10px;float: left;box-sizing: border-box;margin-bottom: 30px;position: relative;
}
.list ul li .text{width: 100%;height: 30px;text-align: center;bottom: 0;left: 0;color:#000;z-index: 2;}.list ul li .text h3{padding-top: 5px;
}
.list ul li .pic{width: 100%;height: 200px;overflow: hidden;
}.list ul li .pic img{width: 100%;height: 100%;display: block;object-fit: cover;-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;
}
.list ul li .pic img:hover{transform:scale(1.1);-webkit-transform:scale(1.1); /*兼容-webkit-引擎浏览器*/-moz-transform:scale(1.1);
}
.titi {text-align: center;font-size: 30px;color: #000;font-weight: block;padding: 20px 0;}.list ul li:hover .text{display: block;
}.jiesao p{line-height: 22px;font-size: 16px;color: #000;margin-top: 30px;
}.foot{width: 100%;padding: 30px 0;text-align: center;color: #fff;background-color: #000;
}.banner-two img{width: 100%;height: 400px;
}.zhengrong .left{width: 100%;color: #fff;float: left;font-size: 12px;text-align: center;font-size: 30px;
}
.zhengrong .left h3{padding: 36px 0;color: #CC3300;
}.zhengrong .left p{font-size: 15px; padding: 10px 0;}
.zhengrong .img{width: 100%;float: left; text-align:center;}.zhengrong .img img{margin: 10px;width: 200px;height: 200px;}.zhengrong ul li{background-color: #111;margin-top: 30px;padding-bottom: 30px;
}.zhengrong ul li:hover{background-color: #444;
}
.xiaoxiao ul{margin-top: 50px;
}
.xiaoxiao ul li{width: 25%;float: left;margin-bottom: 20px;text-align: center;
}
.xiaoxiao img{width: 80%;height: 280px;
}/**/
.divAll{ width:100%; font-family:'黑体'; margin:50px auto;margin-top:0}#titles{ font-weight:bold; font-size:18px; height:50px; line-height:50px; background:#FFF9F3; text-align:center; border:1px solid #CCC;; }#contents{ margin-top:0px; }#contents form{ width:500px; margin:0 auto}#form-itemGroup{ padding:10px; }#form-itemGroup label{ display:inline-block; width:100px; height:32px; line-height:32px; color:#666; text-align:right; }#form-itemGroup .userName{ width:320px; height:40px; line-height:40px; border:1px solid #CCC; } #form-itemGroup .default{ width:240px; height:32px; line-height:32px; color:#999; } #form-itemGroup .error{ height:32px; line-height:32px; color:#F00; }#form-itemGroup .success{ height:32px; line-height:32px; color:#096; } .divBtn{ margin-top:20px; margin-left:114px; width:322px; height:42px; line-height:42px; background-color:#996666; margin-bottom:10px; color:#ffffff;font-size:20px;border:none; } .jiesao .left{width: 100%;
}
.jiesao .left img{width: 100%;height: 650px;}
.jiesao .rii{width: 100%;padding: 20px 20px;box-sizing: border-box;font-size: 20px;line-height: 20px;color: #333333;
}.focus{height:600px;overflow:hidden; width:100%;position:relative;}
/* focus_s */
.focus_s{position:absolute;left:50%;bottom:5%;height:13px;overflow:hidden;width:110px;z-index:9;margin:0 0 0 -30px;}
.focus_s li{float:left;cursor:pointer;height:13px;width:12px;overflow:hidden;margin-right:10px;background:url(../images/dian.png) no-repeat;}
.focus_s li.active{background-position:-12px 0;}
/* focus_m */
.focus_m ul{opacity:1;filter:alpha(opacity=100);}
.focus_m li{width:100%;height:600px;position:absolute;top:0;left:0;}
/* focus_l focus_r */
.focus_l,.focus_r{position:absolute;display:block;width:50px;height:75px;overflow:hidden;z-index:2;top:250px;}
.focus_l{left:0;}
.focus_r{right:0;}
.focus_l b,.focus_r b{position:absolute;z-index:1;display:block;width:50px;height:75px;overflow:hidden;background:#000;opacity:0;filter:alpha(opacity=0);cursor:pointer;}
.focus_l span,.focus_r span{display:inline-block;position:relative;z-index:2;width:22px;height:36px;top:21px;cursor:pointer; margin-right:28px;}
.focus_l span{left:12px;background-image:url(../images/l.png); background-repeat:no-repeat;_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/l.png');}
.focus_r span{left:16px;background:url(../images/r.png) 0 0 no-repeat; background-repeat:no-repeat;_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/r.png');}
五、🎁更多源码
1.如果我的博客对你有帮助 请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!
2.💗【👇🏻👇🏻👇🏻🉑关注我| 获取更多源码】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、等!
📣以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
