国产成人精品无码青草_亚洲国产美女精品久久久久∴_欧美人与鲁交大毛片免费_国产果冻豆传媒麻婆精东

15158846557 在線咨詢 在線咨詢
15158846557 在線咨詢
所在位置: 首頁 > 營銷資訊 > 網(wǎng)站運(yùn)營 > 使用HTML制作靜態(tài)網(wǎng)站作業(yè)——我的校園運(yùn)動會(HTML+CSS)

使用HTML制作靜態(tài)網(wǎng)站作業(yè)——我的校園運(yùn)動會(HTML+CSS)

時間:2023-09-15 20:18:01 | 來源:網(wǎng)站運(yùn)營

時間:2023-09-15 20:18:01 來源:網(wǎng)站運(yùn)營

使用HTML制作靜態(tài)網(wǎng)站作業(yè)——我的校園運(yùn)動會(HTML+CSS):
精彩專欄推薦 文末獲取聯(lián)系 ?? 作者簡介: 一個熱愛把邏輯思維轉(zhuǎn)變?yōu)榇a的技術(shù)博主 作者主頁: 【主頁—— 獲取更多優(yōu)質(zhì)源碼】 web前端期末大作業(yè): 【 畢設(shè)項(xiàng)目精品實(shí)戰(zhàn)案例 (1000套) 】 程序員有趣的告白方式:【 HTML七夕情人節(jié)表白網(wǎng)頁制作 (110套) 】 超炫酷的Echarts大屏可視化源碼:【 Echarts大屏展示大數(shù)據(jù)平臺可視化(150套) 】 HTML+CSS+JS實(shí)例代碼: 【 ?HTML+CSS+JS實(shí)例代碼 (炫酷特效網(wǎng)頁代碼) 繼續(xù)更新中...】 免費(fèi)且實(shí)用的WEB前端學(xué)習(xí)指南: 【 web前端零基礎(chǔ)到高級學(xué)習(xí)視頻教程 120G干貨分享】 關(guān)于作者: 歷任研發(fā)工程師,技術(shù)組長,教學(xué)總監(jiān);曾于2016年、2020年兩度榮獲CSDN年度十大博客之星。 十載寒冰,難涼熱血;多年過去,歷經(jīng)變遷,物是人非。 然而,對于技術(shù)的探索和追求從未停歇。 堅(jiān)持原創(chuàng),熱衷分享,初心未改,繼往開來!

@TOC


一、 ? 網(wǎng)站題目

校園班級網(wǎng)頁設(shè)計 、 ? 我的班級網(wǎng)頁、我的學(xué)校、 ? 校園社團(tuán)、校園運(yùn)動會、等網(wǎng)站的設(shè)計與制作。


二、??網(wǎng)站描述

?HTML我的班級網(wǎng)頁設(shè)計,采用DIV+CSS布局,共有多個頁面,排版整潔,內(nèi)容豐富,主題鮮明,首頁使用CSS排版比較豐富,色彩鮮明有活力,導(dǎo)航與正文字體分別設(shè)置不同字號大小。導(dǎo)航區(qū)域設(shè)置了背景圖。子頁面有純文字頁面和圖文并茂頁面。

一套優(yōu)質(zhì)的 網(wǎng)頁設(shè)計應(yīng)該包含 (具體可根據(jù)個人要求而定) 1. 頁面分為頁頭、菜單導(dǎo)航欄(最好可下拉)、中間內(nèi)容板塊、頁腳四大部分。 2. 所有頁面相互超鏈接,可到二三級頁面,有多頁面組成。 3. 頁面樣式風(fēng)格統(tǒng)一布局顯示正常,不錯亂,使用Div+Css技術(shù)。 4. 菜單美觀、醒目,二級菜單可正常彈出與跳轉(zhuǎn)。 5. 可選有JS特效,如定時切換和手動切換圖片輪播。 6. 頁面中有多媒體元素,如gif、視頻、音樂,表單技術(shù)的使用。 7. 頁面清爽、美觀、大方,不雷同。 。 8. 不僅要能夠把用戶要求的內(nèi)容呈現(xiàn)出來,還要滿足布局良好、界面美觀、配色優(yōu)雅、表現(xiàn)形式多樣等要求。


三、 網(wǎng)站介紹

網(wǎng)站布局方面:計劃采用目前主流的、能兼容各大主流瀏覽器、顯示效果穩(wěn)定的浮動網(wǎng)頁布局結(jié)構(gòu)。

網(wǎng)站程序方面:計劃采用最新的網(wǎng)頁編程語言HTML5+CSS3+JS程序語言完成網(wǎng)站的功能設(shè)計。并確保網(wǎng)站代碼兼容目前市面上所有的主流瀏覽器,已達(dá)到打開后就能即時看到網(wǎng)站的效果。

網(wǎng)站素材方面:計劃收集各大平臺好看的圖片素材,并精挑細(xì)選適合網(wǎng)頁風(fēng)格的圖片,然后使用PS做出適合網(wǎng)頁尺寸的圖片。

網(wǎng)站文件方面:網(wǎng)站系統(tǒng)文件種類包含:html網(wǎng)頁結(jié)構(gòu)文件、css網(wǎng)頁樣式文件、js網(wǎng)頁特效文件、images網(wǎng)頁圖片文件;

網(wǎng)頁編輯方面:網(wǎng)頁作品代碼簡單,可使用任意HTML編輯軟件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html編輯軟件進(jìn)行運(yùn)行及修改編輯等操作)。 其中: (1) html文件包含:其中index.html是首頁、其他html為二級頁面; (2) css文件包含:css全部頁面樣式,文字滾動, 圖片放大等; (3) js文件包含:js實(shí)現(xiàn)動態(tài)輪播特效, 表單提交, 點(diǎn)擊事件等等(個別網(wǎng)頁中運(yùn)用到j(luò)s代碼)。


四、 網(wǎng)站演示




在這里插入圖片描述
在這里插入圖片描述
在這里插入圖片描述
在這里插入圖片描述




五、?? 網(wǎng)站代碼

HTML結(jié)構(gòu)代碼

<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" type="text/css" href="./css/style.css" /> <title>校園運(yùn)動會</title> </head> <body> <!-- 頭部 --> <header class="header"> <!-- 搜索 --> <div class="search"> <div class="search-content"> <!-- logo-左 --> <div class="content-l"> <img src="./pic/logo.png" /> <h3>校園運(yùn)動會</h3> </div> <!-- search-右 --> <div class="content-r"> <input type="text" /> <button>搜索</button> </div> </div> </div> <!-- 導(dǎo)航欄 --> <div class="myNavbar"> <div class="myNavbar-content"> <ul> <li><a class="act" href="./index.html">首頁</a></li> <li><a href="./page1.html">形式</a></li> <li><a href="./page2.html">高燃瞬間</a></li> <li><a href="./page3.html">趣味瞬間</a></li> </ul> </div> </div> </header> <!-- 主體 --> <main class="main"> <div class="main-content"> <!-- banner --> <div class="banner"> <img src="./pic/img (1).jpg"> </div> <!-- 文章 --> <div class="article"> <h1 class="article-title"> <span>校園運(yùn)動會簡介</span> </h1> <hr /> <p> 學(xué)校體育運(yùn)動競賽的一種重要形式,主要指每年春秋兩季的田徑運(yùn)動會,簡稱校運(yùn)會。學(xué)校運(yùn)動會有多方面的教育意義,可以全面檢閱學(xué)校田徑運(yùn)動開展情況,檢查教學(xué)和訓(xùn)練成果,推動學(xué)校群眾性體育活動的開展,促進(jìn)運(yùn)動技術(shù)水平的提高;同時,還可以培養(yǎng)學(xué)生奮發(fā)向上、遵守紀(jì)律、集體主義和榮譽(yù)感等品質(zhì),并具有振奮師生精神,活躍學(xué)校生活等作用。中國學(xué)校的運(yùn)動會,始于1890年前后杭州圣約翰書院舉辦的以田徑為主的運(yùn)動會。以后逐漸發(fā)展到大城市的中等和高等學(xué)校。中華人民共和國成立后,學(xué)校運(yùn)動會在城市和鄉(xiāng)村各級各類學(xué)校中普遍開展,并日益成為學(xué)校的傳統(tǒng)活動和學(xué)校教育生活中一項(xiàng)重要內(nèi)容。 </p> <h3>精彩瞬間</h3> <div style="width: 100%; display: flex; "> <div class="img" style="width: 100%; height: 600px; flex-shrink: 0;"> <img src="./pic/img-1.jpg" /> </div> </div> <div style="width: 100%; display: flex; justify-content: space-around"> <div class="img" style="width: 48%; height: 450px; margin-left: 1%;flex-shrink: 0;"> <img src="./pic/img-2.jpg" /> </div> <div class="img" style="width: 48%; height: 450px; margin-left: 1%;flex-shrink: 0;"> <img src="./pic/img-3.jpg" /> </div> </div> <h3>目光中凝聚的是堅(jiān)定與自信 動作中蘊(yùn)藏的是斗志與決心</h3> <div style="width: 100%; display: flex; justify-content: space-around"> <div class="img" style="width: 48%; height: 450px; margin-left: 1%;flex-shrink: 0;"> <img src="./pic/img (24).jpg" /> </div> <div class="img" style="width: 48%; height: 450px; margin-left: 1%;flex-shrink: 0;"> <img src="./pic/img-5.jpg" /> </div> </div> <h3>運(yùn)動的積極意義</h3> <p> 體育運(yùn)動具有強(qiáng)身健體、娛樂,另外還有教育、政治、經(jīng)濟(jì)等功能。也可以說所處的歷史階段不同,體育就具有不同的功能,但是自從體育產(chǎn)生以來,強(qiáng)身健體及其娛樂自始至終是體育的主要功能。體育是一種復(fù)雜的社會文化現(xiàn)象,以身體活動為基本手段,增強(qiáng)體質(zhì)、增進(jìn)健康及其培養(yǎng)人的各種心理品質(zhì)為目的。尤其是隨著社會經(jīng)濟(jì)的發(fā)展,人們的生活水平得到了提高,人們對精神方面的需要高于對物質(zhì)方面的需要。人們對于體育的認(rèn)識不只限于強(qiáng)身健體的方面,希望通過體育活動的參與得到更多的精神享受。例如,人們觀看體育比賽,優(yōu)美的體育動作,扣人心弦的競賽等都給人們以美的享受,還有在比賽現(xiàn)場,隨著比賽的進(jìn)行,人們可以大聲的叫喊,可以盡情的發(fā)泄自己的情感,使人們在精神上有一種輕松感。一次成功的射門,一個漂亮的投籃,隨著快節(jié)奏的音樂跳健美操等,不只是健身,更重要的是給人們的一種精神與神經(jīng)方面的釋放感,愉快感、成就感和心情的舒暢感。這些都是體育帶給人們精神方面的價值。生活水平越高,人們越是注重體育精神層面的價值。 </p> </div> </div> </main> <!-- 底部 --> <footer class="footer"> Copyright ? 2022 xxx All rights reserved. </footer> </body></html>

CSS樣式代碼

/* 清除默認(rèn)樣式 *//* #region */* { margin: 0; padding: 0;}/* 均勻滑動 */html { scroll-behavior: smooth;}body { padding-top: 90px; color: #000000;}li { list-style-type: none;}a { text-decoration: none;}/* #endregion *//* 頭部樣式 *//* #region */.header { width: 100%; position: fixed; top: 0; z-index: 10;}.header .search { background-color: #008ccc; width: 100%; height: 40px;}.header .myNavbar { background-color: #296073; width: 100%; height: 50px;}.search .search-content,.myNavbar .myNavbar-content { width: 1200px; height: 100%; margin: 0 auto;}.myNavbar .myNavbar-content{ position: relative;}.search-content { display: flex; justify-content: space-between;}.content-l { display: flex; align-items: center; height: 100%;}.content-l img { width: 30px; height: 30px; flex-shrink: 0;}.content-l h3 { color: white; margin-left: 10px; font-size: 24px; font-weight: 500; flex-shrink: 0;}.content-r { display: flex; align-items: center; height: 100%;}.content-r input { height: 23px; outline: none;}.content-r button { height: 25px; width: 35px; margin-left: 3px; border: none; color: white; background-color: #9b89b3;}.content-r button:hover { cursor: pointer; background-color: #7b6c8f;}.myNavbar-content > ul { display: flex; height: 100%;}.myNavbar-content a { color: white;}.myNavbar-content a:hover { cursor: pointer; background-color: #2e839e;}.myNavbar-content .act { background-color: #2e839e;}.myNavbar-content > ul > li { line-height: 50px;}.myNavbar-content > ul > li > a,.navbar-drop a { padding: 10px 20px; border-radius: 5px;}.navbar-drop { background-color: #296073; text-align: center; margin-top: -10px; border-radius: 0 0 5px 5px; display: none;}.more:hover + .navbar-drop { display: block;}.navbar-drop:hover { display: block;}/* #endregion *//* 主體樣式 *//* #region */.main { width: 100%;}.main audio { height: 40px; margin-left: 10px; margin-bottom: 10px;}.main-content { width: 1200px; margin: 0 auto; border: 1px solid #b0a8b9; box-sizing: border-box;}.banner>img { width: 100%; height: 450px; object-fit: cover; object-position: center;}/* 輪播 *//* #region */.shell { width: 100%; height: 500px; position: relative; overflow: hidden; margin: 0 auto;}.images { width: 300%; height: 100%; display: flex; position: absolute; left: 0; transition: 0.2s;}.sw-img { width: 100%; height: 100%; background-size: 100%; background-position: center; background-repeat: no-repeat;}.sw-img:nth-child(1) { background-image: url('../images/swiper-1.jpg');}.sw-img:nth-child(2) { background-image: url('../images/swiper-2.jpg');}.sw-img:nth-child(3) { background-image: url('../images/swiper-3.jpg');}.min-images { display: flex; justify-content: space-evenly; position: absolute; bottom: 20px; width: 40%; z-index: 5; right: 10%;}.min { width: 60px; height: 60px; cursor: pointer; border-radius: 50%; background-size: cover; border: solid rgba(255, 255, 255, 0.5) 5px; background-position: -20px 0;}.min:nth-child(1) { background-image: url('../images/swiper-1.jpg');}.min:nth-child(2) { background-image: url('../images/swiper-2.jpg');}.min:nth-child(3) { background-image: url('../images/swiper-3.jpg');}.button { width: 100%; height: 100%; position: absolute; display: flex; justify-content: space-between; user-select: none;}.button-left,.button-right { font-size: 50px; background-color: #d2d2d261; padding: 0 20px; cursor: pointer; line-height: 500px;}/* #endregion *//* 文章 *//* #region */.article { width: 100%; margin-top: 50px; padding: 0 15px; box-sizing: border-box; margin-bottom: 40px;}.article p,.p p { text-indent: 2rem; line-height: 2; margin-bottom: 15px;}.article .str { color: #999; font-size: 18px;}.article h3 { margin-bottom: 5px; position: relative;}.article h3::before { content: ''; position: absolute; width: 5px; height: 20px; border-radius: 5px; background-color: #008ccc; left: -14px; top: 4px;}.article a:hover { text-decoration: underline;}.article hr { margin-bottom: 10px;}.article-title { text-align: center; font-size: 38px; font-weight: 400; line-height: 50px; margin-bottom: 30px; color: #f00102;}.article-title > span { padding: 10px 30px; border: double 5px #ee9c0e;}.img{ overflow: hidden; height: 400px; margin: 10px 0;}.img img{ object-fit: cover; object-position: center; transition: 0.3s; width: 100%; height: 100%;}.img:hover { box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;}.img img:hover { transform: scale(1.1);}/* #endregion *//* #endregion *//* 卡片 *//* #region */.article-content{ display: flex; justify-content: space-around; flex-wrap: wrap;}.article-content .item{ width: 350px; padding: 4px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 4px;}.article-content .item img{ width: 100%; height: 250px; object-fit: cover; object-position: center;}.article-content .item .caption{ padding: 9px; color: #333;}.caption h4{ margin-top: 5px; margin-bottom: 5px; font-size: 18px;}.caption p{ margin: 0 0 10px; line-height: 1.5; text-indent: 0;}.article-video{ width: 100%; background-color: #b94047; border-radius: 6px; display: flex; justify-content: center; flex-wrap: wrap;}.article-video>video{ width: 1000px; height: 570px; margin-top: 20px;}.article-video .text{ width: 1000px; margin-top: 30px;}.text p{ color: white;;}/* #endregion *//* 底部 *//* #region */.footer { background-color: #008ccc; text-align: center; color: white; border-top: 1px solid rgb(87, 20, 20); height: 40px; line-height: 40px;}/* #endregion */

六、 如何讓學(xué)習(xí)不再盲目

21年程序員總結(jié)給編程菜鳥的16條忠告

  1. 入門期間不要盲目看太多書,找一本網(wǎng)上或身邊有經(jīng)驗(yàn)程序員推薦的教材,先系統(tǒng)的學(xué)習(xí)。
  2. 多看幫助文檔,幫助文檔就像一個游戲的玩法說明通關(guān)秘籍,該看就看別太自信。
  3. 菜鳥容易被對象、屬性、方法等詞匯迷惑?那是你連最基礎(chǔ)知識都還沒掌握。
  4. 不要忽視沒一個看起來不起眼的問題,經(jīng)??偨Y(jié)做到舉一反三。
  5. 沒積累足夠知識和經(jīng)驗(yàn)前,你是開發(fā)不出一個完整項(xiàng)目的。
  6. 把最新技術(shù)掛在嘴邊,還不如把過時技術(shù)牢記心中。
  7. 活到老學(xué)到老,只有一招半式是闖不了江湖的。
  8. 看得懂的書,仔細(xì)看;看不懂的書,硬著頭皮也要看完。
  9. 書讀百遍其義自見,別指望讀一遍就能掌握。
  10. 請把教程里的例子親手實(shí)踐下,即使案例中有完整源碼。
  11. 把在教程中看到的有意義的例子擴(kuò)充;并將其切實(shí)的運(yùn)用到自己的工作中。
  12. 不要漏掉教程中任何一個習(xí)題——請全部做完并做好筆記。
  13. 水平是在不斷的實(shí)踐中完善和發(fā)展的,你與大牛差的只是經(jīng)驗(yàn)的積累。
  14. 每學(xué)到一個難點(diǎn)的時候,嘗試對朋友或網(wǎng)上分享你的心得,讓別人都能看得懂說明你真的掌握。
  15. 做好保存源文件的習(xí)慣,這些都是你的知識積累。
  16. 遇到問題不要張口就問,要學(xué)會自己找答案,比如google、百度和w3cschool上都有很多編程相關(guān)資料,你只要輸入關(guān)鍵字就能找到你的答案。

七、 更多干貨

1.如果我的博客對你有幫助、如果你喜歡我的博客內(nèi)容,請 “ 點(diǎn)贊” “??評論” “ 收藏”一鍵三連哦!

2. 【 關(guān)注我| 獲取更多源碼 | 優(yōu)質(zhì)文章】帶您學(xué)習(xí)各種前端插件、3D炫酷效果、圖片展示、文字效果、以及整站模板 、大學(xué)生畢業(yè)HTML模板 、期末大作業(yè)模板 、等! 「在這里有好多 前端 開發(fā)者,一起探討 前端 Node 知識,互相學(xué)習(xí)」!

3.

以上內(nèi)容技術(shù)相關(guān)問題 歡迎一起交流學(xué)習(xí)

【主頁—— 獲取更多優(yōu)質(zhì)源碼】



關(guān)鍵詞:校園,作業(yè),靜態(tài),使用

74
73
25
news

版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。

為了最佳展示效果,本站不支持IE9及以下版本的瀏覽器,建議您使用谷歌Chrome瀏覽器。 點(diǎn)擊下載Chrome瀏覽器
關(guān)閉