時間:2023-05-09 20:15:01 | 來源:網(wǎng)站運(yùn)營
時間:2023-05-09 20:15:01 來源:網(wǎng)站運(yùn)營
HTML期末作業(yè) 蛋糕bootstrap響應(yīng)式網(wǎng)站html+css+javascript+jquery+bootstarp: 精彩專欄推薦?? 作者簡介: 一個熱愛把邏輯思維轉(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套) 】 免費(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),熱衷分享,初心未改,繼往開來!
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代碼)。<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link type="text/css" rel="stylesheet" href="css/bootstrap.css" /><link type="text/css" rel="stylesheet" href="css/css.css"/><title>蛋糕</title></head><body style="background:#fff;"><!--頂部--><div class="container"> <header> <div class="logo"><img src="images/logo.jpg"></div> <div class="nav"><a href="index.html">網(wǎng)站首頁</a><a href="qiaokeli.html">巧克力蛋糕</a><a href="musi.html">慕斯蛋糕</a><a href="denglu.html">會員登錄</a><a href="jieshao.html">蛋糕介紹</a></div> <div class="clear"></div> </header> <!--內(nèi)容--> <div class=" con"> <div class="pic"> <div class="banner"> <img src="images/banner.jpg"> </div> </div> <div class="container part2"> <h2 class="Title"><strong>CAKE DESSERT</strong> <span>蛋糕甜品</span></h2> <ul class="row"> <a href="xq.html"> <li class="col-sm-4"><img src="images/1.jpg" width="100%"/> <p>榴蓮雪塔</p> <h2>¥318.00</h2> </li> </a> <a href="xq.html"> <li class="col-sm-4"><img src="images/2.jpg" width="100%"/> <p>榛果摩卡布拉吉</p> <h2>¥218.00</h2> </li> </a> <a href="xq.html"> <li class="col-sm-4"><img src="images/3.jpg" width="100%"/> <p>愛麗絲花境</p> <h2>¥258.00</h2> </li> </a> </ul> </div> <div class="Part1 container"> <div class="text"> <p>蛋糕是一種古老的西點(diǎn),一般是由烤箱制作的,蛋糕是用雞蛋、白糖、小麥粉為主要原料。以牛奶、果汁、奶粉、香粉、色拉油、水,起酥油、泡打粉為輔料。經(jīng)過攪拌、調(diào)制、烘烤后制成一種像海綿的點(diǎn)心。 蛋糕是一種面食,通常是甜的,典型的蛋糕是以烤的方式制作出來。蛋糕的材料主要包括了面粉、甜味劑(通常是蔗糖)、黏合劑(一般是雞蛋,素食主義者可用面筋和淀粉代替)、起酥油(一般是牛油或人造牛油,低脂肪含量的蛋糕會以濃縮果汁代替),液體(牛奶,水或果汁),香精和發(fā)酵劑(例如酵母或者發(fā)酵粉)。</p> <p>英語中使用的“cake ”一詞,大約于英國13世紀(jì)時出現(xiàn),來源于古北歐語“kaka”。蛋糕的原始稱呼是“甜的面包”,歷史上第一個制作蛋糕的是埃及人,諸多陵墓中發(fā)掘出的壁畫也證明了這一點(diǎn)。</p> </div> </div> </div> <!--底部--> <footer> <p>蛋糕 </p> </footer></div></body></html>
/*通用類*/* { margin: 0; padding: 0;}body { margin: 0 auto; line-height: 21px}img { border: none; max-width: 100%;}a { cursor: pointer; color: #333; text-decoration: none; outline: none;}em { font-style: normal;}.lt { float: left;}.rt { float: right;}ul, li, h1, h2, h3, p { padding: 0; margin: 0; list-style: none}ul { list-style-type: none;}.clear { clear: both}/*header 開始*/header { background: #e8d2ad; border-bottom: 2px solid #f1f1f1;}header .logo { height: 120px; width: auto; text-align:center; margin: 0 auto;}header .logo img { width: auto; height: 100%;}header .nav { float: left; width: 100%; text-align: center; height: 40px; line-height: 40px; background:#d4ba8d;}header .nav a { float: left; width: 20%; display: inline-block; text-align: center; color: #000; float:left; font-size: 16px; text-decoration:none}header .nav a:hover{ background:#996633}.banner { background-size: cover;}.banner img { width: 100%; display: block;}footer { text-align: center; background: #e8d2ad;}footer p { height: 70px; line-height: 70px;}.Title { font-size: 32px; color: #333; text-align:center; line-height: 50px; margin: 20px 10px; overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.Title strong{ display:block; position:relative; top:20px; color:#ddd; font-size:44px} .Title span{ position:relative; top:-10px; display:block}.con .text { font-size: 18px; color: #333; line-height: 26px;}.csf li h3{ margin:20px 0}.csf{ padding-bottom:40px}.csf p{ line-height:24px}.con .text p { margin: 0 0 10px 0;}.Part1{ padding-bottom:40px}.Part1 .text{ margin:0 auto; max-width:800px; text-align:center; font-size:16px; line-height:30px;}.part2 { margin-bottom:0px;}.part2 li { text-align: center; margin-bottom: 30px;}.part2 li p { font-size: 16px; padding: 10px 0; display: block;}.part2 li img {}.container {}.bj { display: block; width: 100%; background: url(../images/bj.gif); height: 40px; margin-bottom: 20px;}.part3 li { text-align: left;}.part3 li h3 { font-size: 20px; line-height: 40px; overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.part3 li p { height: 420px; padding: 10px; line-height: 26px; color: #333; overflow: hidden; font-size: 14px;}.part4 li { margin-bottom: 20px; text-align:center;}.text2{ max-width:500px; margin:0 auto}.part4 { padding-bottom:40px}.part4 li p{ margin:15px 0; margin-bottom:0}.part4 li img { width: 100%; height: 100%; object-fit: cover; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s;}.tx h1{ padding-bottom:30px;}.tx{ font-size:16px; line-height:30px}.part4 li img:hover { box-shadow: 0px 0px 15px #888888;}.form_con { margin: 30px 0; font-size: 16px;}.form_con .phone { width:100%; height: 36px; padding: 0 15px; box-sizing: border-box; font-size: 14xp; margin-bottom: 10px; display: block;}.form_con .phone.oi { height: 120px;}.form_con button { width: 140px; height: 36px; background: #666; border: none; color: #fff;} @keyframes my1 { 0% {transform:translate(0px, 0px)} 50% {transform:translate(0px, -20px)} 100% {transform:translate(0px, 0px)}}.ditu { position: relative;}.xiaoqi { position: absolute; width: 50px; top: 30px; left: 20%;}.xiaoqi img { width: 100%;}.xiaoqi1 { animation: my1 2s ease-in-out infinite; -webkit-animation: my1 ease-in-out 2s infinite;}.xiaoqi2 { position: absolute; width: 50px; top: 30%; left: 30%; animation: my1 2s ease-in-out infinite; -webkit-animation: my1 ease-in-out 2s infinite;}.xiaoqi3 { position: absolute; width: 50px; top: 60%; left: 80%; animation: my1 2s ease-in-out infinite; -webkit-animation: my1 ease-in-out 2s infinite;} @media only screen and (max-width:1200px) {} @media only screen and (max-width:1000px) {header .nav a { font-size: 20px;}} @media only screen and (max-width:746px) {.row,.Title{ margin:0}.Part1 .text{ font-size:14px; line-height:22px}.text2,.Part1 .text{ margin:10px}.Title strong{ font-size:30px}header .nav { width:100%; height: 50px; display:flex; line-height: 50px; text-align:center; justify-content:center;}header .logo { height: 50px;}header .nav a { font-size: 14px; float:none; width:auto; margin:0 5px;}.part2 li img { height: auto;}.part4 li { height: auto;}.Title{ font-size:20px;}.text{ font-size:14px; line-height:26px;}}
請 “ 點(diǎn)贊” “??評論” “ 收藏”
一鍵三連哦! 【 關(guān)注我| 獲取更多源碼 | 優(yōu)質(zhì)文章】
帶您學(xué)習(xí)各種前端插件、3D炫酷效果、圖片展示、文字效果、以及整站模板 、大學(xué)生畢業(yè)HTML模板 、期末大作業(yè)模板 、等! 「在這里有好多 前端 開發(fā)者,一起探討 前端 Node 知識,互相學(xué)習(xí)」!關(guān)鍵詞:作業(yè),蛋糕,響應(yīng)
客戶&案例
營銷資訊
關(guān)于我們
微信公眾號
版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。