用DIV+CSS技术设计的非遗文化网页(网页制作课作业)
🌩? 精彩專欄推薦👇🏻👇🏻👇🏻
💂 作者主頁: 【進入主頁—🚀獲取更多源碼】
🎓 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.視頻演示
N55JP- 非遺文化-14頁
🧩 2.圖片演示
四、💒 網站代碼
🧱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}.c-banner .banner ul{list-style: none;padding-left: 0px;margin-bottom: 0px; } .c-banner .banner ul li{position: absolutedisplay: 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模板 、等!
📣以上內容技術相關問題💌歡迎一起交流學習👇🏻👇🏻👇🏻
總結
以上是生活随笔為你收集整理的用DIV+CSS技术设计的非遗文化网页(网页制作课作业)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 基于Vue的淘宝SKU组合算法
- 下一篇: 一张电子名片即可完成拓客成交和裂变