web静态网页设计与制作,基于HTML+CSS+JS实现精美的旅游摄影网站,拥有极简的设计风格,丰富的交互动效,让人眼前一亮,享受视觉上的体验。
我使用了基本的HTML结构来构建网页,并使用CSS样式进行美化设计,然后使用jquery.js实现酷炫的交互效果。需要注意的是,确保将所需的图片文件与HTML和CSS文件放在同一目录下。最后,将文件部署到Web服务器上,即可通过浏览器访问旅游摄影网站的单页应用。
旅游摄影网站应用如何设计与制作呢?
可以按照以下步骤进行:
- 确定需求和页面内容:确定网站需要展示的内容和每个页面的功能需求。例如,首页、摄影作品集、目的地推荐、旅游摄影技巧 、旅行故事分享等。
- 设计页面布局:根据需求,设计每个页面的布局和样式,包括页面结构、导航栏、主要内容区域、底部信息等。
- 准备网站素材:根据页面布局,准备所需的图片、文字等素材。对于旅游摄影网站,可以准备一些精美的景点图片、游记图片等。
- 编写页面代码:使用HTML、CSS和JavaScript等前端技术编写页面的代码。在编写过程中,要注意代码的可读性和可维护性,同时遵循网页语义化和响应式设计原则。
- 实现页面交互:根据需求,添加所需的交互效果和功能。例如,轮播图、图片放大效果、表单验证等。
- 测试页面效果:在开发过程中,不断进行测试和调试,确保页面显示效果和功能正常。
- 发布和部署:完成测试后,将页面代码部署到服务器上,发布网站。
在开发过程中,可以使用一些前端开发工具和框架来提高效率和质量,例如Bootstrap、jQuery等。同时,要注意页面的响应式设计和用户体验,确保网站可以在不同的设备和屏幕尺寸上正常显示和访问。
下面展示如何使用HTML和CSS开发一个旅游摄影网站的单页应用。
首先,创建一个HTML文件,命名为index.html
,并将以下代码添加到文件中:
<!DOCTYPE html>
<html lang="en">
<head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>旅游摄影网站</title> <meta name="keywords" content="木番薯科技(公众号),网站设计与制作"><meta name="description" content="木番薯科技(公众号)极速建站,设计交互领先的网站产品,适合个人、企业网站建设"><link type="text/css" href="style/css/vender.css" rel="stylesheet" /><link type="text/css" href="style/css/app.css" rel="stylesheet" /><link type="text/css" href="style/css/others.css" rel="stylesheet" />
</head>
<body class="bodylist bodysinglepage disable-between"><div id="sitecontent" class="sitecontent"><div class="npagePage default content_editor"><div class="content"><div class="postbody1 postbody"><div id="page_body_editor-wrapper" data-type='' class="page_body_editor-wrapper"><div id=BKyZlEXUcMdfZdpx data-key='' data-window_width=true data-limit_width=truedata-stick-parent='' class="layout_group" style='background-color:rgb(17, 17, 17)'><section data-effect=parallax data-size=contain data-pos=tc class='layout_bg layout_bg_pc'style="background-image:url(style/images/img/1567067636627.jpgquot)"><img src="style/images/img/1567067636627.jpg" style="opacity:0"><div class=layout_bg-mask style='background-color:rgba(255, 255, 255, 0)'></div></section><section data-effect=parallax data-size=contain data-pos=tl class='layout_bg layout_bg_mo' style=background-image:url(style/images/img/1567606058151.jpgquot)><div class=layout_bg-mask style='background-color:rgba(255, 255, 255, 0)'></div></section><section class=layout_limit_wrapper><section class=layout_container><section class=layout_body><section id=OhovjeKEMrutJijq data-type-detail=custom data-justify_center=centerdata-align_center=center class=layout><div class=layout-margin_placeholder_top style=padding-top:100px></div><section data-animate=1 data-key='' data-col=50_25_25 data-stick-parent='' class=row style=width:100%><section id=QIckvCikUMBfEMri class='col editor_wrapper col-50' style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><p> </p><p><span class=text-72 style=font-size:72px;color:#fff;font-family:MontDemo-Heavy>自然景观</span><spanclass=text-72style=font-size:72px;color:#fff> </span></p><p><span class=text-30style=font-size:30px;color:#00e04d;font-family:Arial>旅游摄影作品</span></p><p> </p><figure class=media><div class='ck_share ck_share_style_one ck_share_theme_black ck_share_pos_left'data-oembed-url=''><section class=ck-share-container><ahref='https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NDc4MTY4MQ==&action=getalbum&album_id=2288753751610015749&scene=173&from_msgid=2247485724&from_itemidx=1&count=3&nolastread=1#wechat_redirect'target=_blankclass='ck-share-item ck-share-type-weibo'><i class='ifont ifont-weibo'></i><span class=ck-editor-name></span></a><ahref='https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NDc4MTY4MQ==&action=getalbum&album_id=2288753751610015749&scene=173&from_msgid=2247485724&from_itemidx=1&count=3&nolastread=1#wechat_redirect'target=_blankclass='ck-share-item ck-share-type-weixin'><i class='ifont ifont-weixin'></i><span class=ck-editor-name></span></a><a href=tel:4000000000 target=_blankclass='ck-share-item ck-share-type-call'><i class='ifont ifont-call'></i><span class=ck-editor-name></span></a></section></div></figure><p> </p><p> </p><p> </p></section></section><span class=col_space style=width:6%></span><section id=kgNaZwFBlTpFwIkq class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><p> </p><p style=text-align:center> </p><figure class=table data-border=true><table><tbody><tr><td> </td><td colspan=4><figure class=image><imgstyle=border-radius:100pxsrc=./style/images/img/tx.png></figure></td><td> </td></tr></tbody></table></figure><p style=text-align:center><span style=color:#999>非著名摄影师</span><span style=color:#00e04d>李潇然</span></p><p style=text-align:center> </p><p> </p></section></section><span class=col_space style=width:6%></span><section id=sVyZnLMcglNlhZfZ class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><p> </p><p><span class=text-26style=font-size:26px;color:#fff;font-family:MontDemo-Heavy>2016-2023</span></p><p> </p><p><span style=color:#999>自然风光摄影, </span><spanstyle=color:#0ff661> 旅游摄影 </span><spanstyle=color:#999>,婚纱摄影和写真摄影 </span></p><p> </p><p><a style='border-color:rgb(255, 255, 255);color:rgb(255, 255, 255)'href=https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NDc4MTY4MQ==&action=getalbum&album_id=2288753751610015749&scene=173&from_msgid=2247485724&from_itemidx=1&count=3&nolastread=1#wechat_redirectdata-layout=3 data-style=whitedata-setting='{"before":{"bg":"rgb(255, 255, 255)","outline":"1","color":"rgb(255, 255, 255)"},"after":{"bg":"#f0f0f0","outline":"0","color":"#333"},"layout":"3","style":"white"}'data-before-outline=1data-before-bg='rgb(255, 255, 255)'data-before-color='rgb(255, 255, 255)'data-after-bg=#f0f0f0 data-after-color=#333data-after-outline=0 target=_blank>更多</a></p><p> </p></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=QTLtFFfsHMyLQtpn data-type-detail=custom data-justify_center=centerdata-align_center=top class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=1 data-key='' data-col=33_33_33 data-stick-parent=''class=row style=width:100%><section id=TdEnAsfRnZqmqQBi class='col editor_wrapper col-33'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><figure class='image ue-image' data-image-ratio=3-4><div class=ue-image-shadowstyle=background-image:url(style/images/img/9cc343006af5d01c86a5cc73c3e600fb.jpg);width:100%;border-radius:0><imgsrc=./style/images/img/9cc343006af5d01c86a5cc73c3e600fb.jpg><div class=ue-image-mask></div></div></figure><p> </p><p><span class=text-12style=font-size:12px;color:#999;font-family:Roboto-Light>旅游摄影作品</span></p><p><span class=text-30style=font-size:30px;color:#fff;font-family:Techna-Sans-Regular-2>暮光之野</span></p><p> </p><p> </p></section></section><span class=col_space style=width:1%></span><section id=lXgfnvswRzDQnIuu class='col editor_wrapper col-33'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><figure class='image ue-image' data-image-ratio=3-4><div class=ue-image-shadowstyle=background-image:url(style/images/img/40acaef6ba943d444d3e103506e730a9.jpg);width:100%;border-radius:0><imgsrc=./style/images/img/40acaef6ba943d444d3e103506e730a9.jpg><div class=ue-image-mask></div></div></figure><p> </p><p><span class=text-12style=font-size:12px;color:#999;font-family:Roboto-Light>旅游摄影作品</span></p><p><span class=text-30style=font-size:30px;color:#fff;font-family:RobotoJ-Bold-2>夜幕降临</span></p><p> </p><p> </p></section></section><span class=col_space style=width:1%></span><section id=PGVaJleAaCHLlxQM class='col editor_wrapper col-33'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><figure class='image ue-image' data-image-ratio=3-4><div class=ue-image-shadowstyle=background-image:url(style/images/img/fb8d6dcb9c0c841867114557d0d4fbdf.jpg);width:100%;border-radius:0><imgsrc=./style/images/img/fb8d6dcb9c0c841867114557d0d4fbdf.jpg><div class=ue-image-mask></div></div></figure><p> </p><p><span class=text-12style=font-size:12px;color:#999;font-family:Montserrat-Light-6>旅游摄影作品</span></p><p><span class=text-30style=font-size:30px;color:#fff;font-family:RobotoJ-Bold-2>山野之巅</span></p><p> </p><p> </p></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=iYTiQFjkNBqJyXrY data-type-detail=custom data-justify_center=centerdata-align_center=center class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=1 data-key='' data-col=50_50 data-stick-parent=''class=row style=width:100%><section id=YFahiMYVbiFunOoI class='col editor_wrapper col-50'style='border-radius:0;background-color:rgb(29, 29, 29);padding:5%'><section class='editor ck-content'><p> </p><p><span class=text-30style=font-size:30px;color:#fff;font-family:Montserrat-Medium-7>探索世界,捕捉精彩</span></p><p><span class=text-12style=font-size:12px;color:#4c4c4c;font-family:Arial>公众号-木番薯科技</span></p><p> </p><p><span style=color:#999;font-family:Arial>欢迎来到我们的旅游摄影网站!这里是一个集合了全球各地美丽景点和独特文化的平台,让我们一起探索这个五彩斑斓的世界。</span></p><p> </p><p><a style='border-color:rgb(255, 255, 255);color:rgb(255, 255, 255)'href=https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NDc4MTY4MQ==&action=getalbum&album_id=2288753751610015749&scene=173&from_msgid=2247485724&from_itemidx=1&count=3&nolastread=1#wechat_redirectdata-layout=3 data-style=whitedata-setting='{"before":{"bg":"rgb(255, 255, 255)","outline":"1","color":"rgb(255, 255, 255)"},"after":{"bg":"#f0f0f0","outline":"0","color":"#333"},"layout":"3","style":"white"}'data-before-outline=1data-before-bg='rgb(255, 255, 255)'data-before-color='rgb(255, 255, 255)'data-after-bg=#f0f0f0 data-after-color=#333data-after-outline=0 target=_blank>更多</a></p><p> </p><p> </p></section></section><span class=col_space style=width:0%></span><section id=TyljhhHoOSgQLvny class='col editor_wrapper col-50'style='border-radius:0;background-color:rgb(4, 125, 46);padding:5%'><section class='editor ck-content'><p> </p><p><span class=text-30style=font-size:30px;color:#fff;font-family:Montserrat-Medium-7>目的地推荐</span></p><p><span class=text-12style=font-size:12px;color:rgba(255,255,255,0.24338942307692307);font-family:Arial>公众号-木番薯科技</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>无论您是喜欢自然风光还是人文历史,我们的目的地推荐板块将满足您的需求。我们为您精选了全球最值得一游的景点,从壮观的自然奇观到繁华的城市风光,让您足不出户就能感受到不同地域的魅力。</span></p><p> </p><p><a style='border-color:rgb(255, 255, 255);color:rgb(255, 255, 255)'href=https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NDc4MTY4MQ==&action=getalbum&album_id=2288753751610015749&scene=173&from_msgid=2247485724&from_itemidx=1&count=3&nolastread=1#wechat_redirectdata-layout=3 data-style=whitedata-setting='{"before":{"bg":"rgb(255, 255, 255)","outline":"1","color":"rgb(255, 255, 255)"},"after":{"bg":"#f0f0f0","outline":"0","color":"#333"},"layout":"3","style":"white"}'data-before-outline=1data-before-bg='rgb(255, 255, 255)'data-before-color='rgb(255, 255, 255)'data-after-bg=#f0f0f0 data-after-color=#333data-after-outline=0 target=_blank>更多</a></p><p> </p><p> </p></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section></section></section></section></div><div id=LIJfnrCoXcWweRKt data-key='' data-window_width=true data-limit_width=truedata-stick-parent='' class=layout_group style='background-color:rgb(17, 17, 17)'><section data-effect=parallax data-size=contain data-pos=tc class='layout_bg layout_bg_pc'style=background-image:url(style/images/img/1567102749606.jpgquot)><imgsrc=style/images/img/1567102749606.jpg style=opacity:0><div class=layout_bg-mask style='background-color:rgba(255, 255, 255, 0)'></div></section><section data-effect=normal data-size=normal data-pos=tl class='layout_bg layout_bg_mo'style=background-image:url(style/images/img/quotquot)><imgsrc=style/images/img/1567102749606.jpg style=opacity:0><div class=layout_bg-mask style='background-color:rgba(255, 255, 255, 0)'></div></section><section class=layout_limit_wrapper><section class=layout_container><section class=layout_body><section id=GMuLJoXYLgyoLGLb data-type-detail=custom data-justify_center=leftdata-align_center=top class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=1 data-key='' data-col=25_25_25_25data-stick-parent='' class=row style=width:100%><section id=qOuFBJVaeufwhaNb class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><p style=text-align:center> </p><p style=text-align:center><span class=text-60style=font-size:60px;color:#fff;font-family:Techna-Sans-Regular-2>6</span>年<br><spanstyle=color:#999>运营经验</span></p><p style=text-align:center><span style=color:#4c4c4c>Operationalexperience</span></p><p style=text-align:center> </p></section></section><span class=col_space style=width:0></span><section id=btXaiaYkWrJXzzBE class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><p style=text-align:center> </p><p style=text-align:center><span class=text-72style=font-size:72px;color:#fff;font-family:Techna-Sans-Regular-2>5</span>年</p><p style=text-align:center><span style=color:#999>行业沉淀</span></p><p style=text-align:center><span style=color:#4c4c4c>Industryprecipitation</span></p><p style=text-align:center> </p></section></section><span class=col_space style=width:0></span><section id=eIcLrbayOexSijsL class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><p style=text-align:center> </p><p style=text-align:center><span class=text-72style=font-size:72px;color:#fff;font-family:Techna-Sans-Regular-2>12</span>项</p><p style=text-align:center><span style=color:#999>国家专利</span></p><p style=text-align:center><span style=color:#4c4c4c>nationalpatent</span><br> </p></section></section><span class=col_space style=width:0></span><section id=FmKhOfkFjEPzahaz class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:5% 0'><section class='editor ck-content'><p style=text-align:center> </p><p style=text-align:center><span class=text-72style=font-size:72px;color:#fff;font-family:Techna-Sans-Regular-2>20</span>万</p><p style=text-align:center><span style=color:#999>客户积累</span></p><p style=text-align:center><span style=color:#4c4c4c>CustomerAccumulation</span></p><p style=text-align:center> </p></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=ccoyoMKlXImHpkif data-type-detail=custom data-justify_center=leftdata-align_center=center class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=1 data-key='' data-col=50_50 data-stick-parent=''class=row style=width:100%><section id=LNbuMZgWpcMtyXlD class='col editor_wrapper col-50'style='border-radius:0;background-color:rgb(31, 55, 59);padding:0'><section class='editor ck-content'><figure class=table data-border=true><table><tbody><tr><td> </td><td colspan=6><p> </p><p><span class=text-30style=font-size:30px;color:#fff;font-family:MontDemo-Heavy>旅游摄影技巧 </span></p><p><span class=text-12style=font-size:12px;color:rgba(255,255,255,0.24338942307692307);font-family:Arial>Tourism Photography Skills</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>想要拍出令人惊叹的旅行照片吗?我们将分享如何构图、运用光线、捕捉细节等技巧,帮助您提升摄影技术,捕捉旅途中的美好瞬间。 </span></p><p> </p><p><a style='border-color:rgb(255, 255, 255);color:rgb(255, 255, 255)'href=https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NDc4MTY4MQ==&action=getalbum&album_id=2288753751610015749&scene=173&from_msgid=2247485724&from_itemidx=1&count=3&nolastread=1#wechat_redirectdata-layout=3 data-style=whitedata-setting='{"before":{"bg":"rgb(255, 255, 255)","outline":"1","color":"rgb(255, 255, 255)"},"after":{"bg":"#f0f0f0","outline":"0","color":"#333"},"layout":"3","style":"white"}'data-before-outline=1data-before-bg='rgb(255, 255, 255)'data-before-color='rgb(255, 255, 255)'data-after-bg=#f0f0f0data-after-color=#333data-after-outline=0target=_blank>更多</a></p><p> </p><p> </p></td><td> </td></tr></tbody></table></figure></section></section><span class=col_space style=width:0></span><section id=JgPHfGPONigKywsB class='col editor_wrapper col-50'style='border-radius:0;background-color:rgb(31, 55, 59);padding:0'><section class='editor ck-content'><figure class='image ue-image' data-image-ratio=4-3><div class=ue-image-shadowstyle=background-image:url(style/images/img/b5d76e989b2c3678cfc2278fa2c6012a.jpg);width:100%;border-radius:0><imgsrc=./style/images/img/b5d76e989b2c3678cfc2278fa2c6012a.jpg><div class=ue-image-mask></div></div></figure></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=FpxTBYBHWTkiGPUU data-type-detail=custom data-justify_center=leftdata-align_center=center class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=1 data-key='' data-col=50_50 data-stick-parent=''class=row style=width:100%><section id=XwwLmCeXOvfvqklK class='col editor_wrapper col-50'style='border-radius:0;background-color:rgb(76, 58, 48);padding:0'><section class='editor ck-content'><figure class='image ue-image' data-image-ratio=4-3data-center='60% 54%'><div class=ue-image-shadowstyle='background-image:url(style/images/img/7e77c2410edd20cf219740c8d017c1a4.jpg);background-position:60% 54%;width:100%;border-radius:0'><imgsrc=./style/images/img/7e77c2410edd20cf219740c8d017c1a4.jpg><div class=ue-image-mask></div></div></figure></section></section><span class=col_space style=width:0%></span><section id=pMCDQsfrCupnWRhB class='col editor_wrapper col-50'style='border-radius:0;background-color:rgb(76, 58, 48);padding:0'><section class='editor ck-content'><figure class=table data-border=true><table><tbody><tr><td> </td><td colspan=6><p> </p><p><span class=text-30style=font-size:30px;color:#fff;font-family:MontDemo-Heavy>旅行故事分享</span></p><p><span class=text-12style=font-size:12px;color:rgba(255,255,255,0.24338942307692307);font-family:Arial>Travel Story Sharing</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>在我们的旅行故事分享板块,您可以阅读到来自世界各地的旅行者的真实经历和感悟。这些故事将带您领略不同国家的风土人情,激发您的旅行灵感。</span></p><p> </p><p><a style='border-color:rgb(255, 255, 255);color:rgb(255, 255, 255)'href=https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NDc4MTY4MQ==&action=getalbum&album_id=2288753751610015749&scene=173&from_msgid=2247485724&from_itemidx=1&count=3&nolastread=1#wechat_redirectdata-layout=3 data-style=whitedata-setting='{"before":{"bg":"rgb(255, 255, 255)","outline":"1","color":"rgb(255, 255, 255)"},"after":{"bg":"#f0f0f0","outline":"0","color":"#333"},"layout":"3","style":"white"}'data-before-outline=1data-before-bg='rgb(255, 255, 255)'data-before-color='rgb(255, 255, 255)'data-after-bg=#f0f0f0data-after-color=#333data-after-outline=0target=_blank>更多</a></p><p> </p><p> </p></td><td> </td></tr></tbody></table></figure></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:100px></div></section></section></section></section></div><div id=OmbgxXORKKXxJjRF data-key='' data-window_width=true data-limit_width=truedata-stick-parent='' class=layout_group style='background-color:rgb(17, 17, 17)'><section data-effect=parallax data-size=contain data-pos=tl class='layout_bg layout_bg_pc'style=background-image:url(style/images/img/1567073497915.jpgquot)><imgsrc=style/images/img/1567073497915.jpg style=opacity:0><div class=layout_bg-mask style='background-color:rgba(255, 255, 255, 0)'></div></section><section data-effect=parallax data-size=contain data-pos=tl class='layout_bg layout_bg_mo'style=background-image:url(style/images/img/1567606202661.jpgquot)><div class=layout_bg-mask style='background-color:rgba(255, 255, 255, 0)'></div></section><section class=layout_limit_wrapper><section class=layout_container><section class=layout_body><section id=qOJiKvLHYRwjWgXt data-type-detail=custom data-justify_center=leftdata-align_center=top class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=0 data-key='' data-col=100 data-stick-parent=''class=row style=width:100%><section id=QbPQoIJeXIKOoFUO class='col editor_wrapper col-100'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><section class='blank_block big_blank'> </section></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=AkYpsWubIMOVFYLe data-type-detail=custom data-justify_center=leftdata-align_center=center class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=3 data-key='' data-col=25_50_25 data-stick-parent=''class=row style=width:100%><section id=LfcBgMiSIbjPTnzg class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(34, 34, 34, 0.608);padding:5%'><section class='editor ck-content'><p><span class=text-30style=color:#fff;font-size:30px;font-family:MontDemo-Heavy>摄影比赛 </span></p><p><span class=text-12style=color:rgba(255,255,255,0.24338942307692307);font-size:12px;font-family:Arial>photography</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>无论您是专业摄影师还是摄影爱好者,都可以在这里分享您的旅行故事。 </span></p><hr class='hr dash'><p><span class=text-30style=color:#fff;font-size:30px;font-family:MontDemo-Heavy>摄影比赛 </span></p><p><span class=text-12style=color:rgba(255,255,255,0.24338942307692307);font-size:12px;font-family:Arial>photography</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>无论您是专业摄影师还是摄影爱好者,都可以在这里分享您的旅行故事。</span><spanstyle=color:rgba(255,255,255,0.743389423076923)> </span></p><p> </p></section></section><span class=col_space style=width:0%></span><section id=ljlPtbljtHryiAol class='col editor_wrapper col-50'style='border-radius:0;background-color:rgb(4, 125, 46);padding:5%'><section class='editor ck-content'><p><span class=text-72style=color:#fff;font-size:72px;font-family:MontDemo-Heavy>社区交流 </span></p><p><span class=text-30style=color:#fff;font-size:30px;font-family:MontDemo-Heavy>Community communication</span></p><p><span class=text-12style=color:rgba(255,255,255,0.24338942307692307);font-size:12px;font-family:Arial>photography</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>在我们的社区交流板块,您可以与其他旅行者和摄影师互动交流,分享彼此的经验和技术。这里是一个学习和成长的平台,让您在旅途中结识志同道合的朋友。让我们一起用镜头记录下这个美丽的世界,分享旅行的快乐与感动。欢迎加入我们的旅游摄影网站,开启一段别样的视觉之旅!</span></p><p> </p></section></section><span class=col_space style=width:0%></span><section id=HOXIoZhGFFPXInhI class='col editor_wrapper col-25'style='border-radius:0;background-color:rgba(34, 34, 34, 0.608);padding:5%'><section class='editor ck-content'><p><span class=text-30style=font-size:30px;color:#fff;font-family:MontDemo-Heavy>摄影比赛 </span></p><p><span class=text-12style=font-size:12px;color:rgba(255,255,255,0.24338942307692307);font-family:Arial>photography</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>无论您是专业摄影师还是摄影爱好者,都可以在这里分享您的旅行故事。 </span></p><hr class='hr dash'><p><span class=text-30style=font-size:30px;color:#fff;font-family:MontDemo-Heavy>摄影比赛 </span></p><p><span class=text-12style=font-size:12px;color:rgba(255,255,255,0.24338942307692307);font-family:Arial>photography</span></p><p> </p><p><spanstyle=color:rgba(255,255,255,0.743389423076923);font-family:Arial>无论您是专业摄影师还是摄影爱好者,都可以在这里分享您的旅行故事。</span><spanstyle=color:rgba(255,255,255,0.743389423076923)> </span></p><p> </p></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=tKSCOxYODjiJpkKd data-type-detail=custom data-justify_center=leftdata-align_center=top class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=0 data-key='' data-col=100 data-stick-parent=''class=row style=width:100%><section id=TimbimuLCOpbDDZi class='col editor_wrapper col-100'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><section class='blank_block big_blank'> </section></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section></section></section></section></div><div id=BYKJHiXbSgexymQV data-key='' data-window_width=true data-limit_width=truedata-stick-parent='' class=layout_group style='background-color:rgb(0, 0, 0)'><section class=layout_limit_wrapper><section class=layout_container><section class=layout_body><section id=DHYVnqFPGQbhLUww data-type-detail=custom data-justify_center=leftdata-align_center=top class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=0 data-key='' data-col=100 data-stick-parent=''class=row style=width:100%><section id=xPMYKrZnKoBDgbeI class='col editor_wrapper col-100'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><section class='blank_block big_blank'> </section></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=JngyqPUHwNVMNnOY data-type-detail=custom data-justify_center=leftdata-align_center=top class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=1 data-key='' data-col=20_20_20_20_20data-stick-parent='' class=row style=width:100%><section id=lbXTuTWVZOXTrfKu class='col editor_wrapper col-20'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><p><span style=color:#e5e5e5;font-family:Arial>详细地址</span></p><p> </p><p><span style=color:#999;font-family:Arial> 花城大道667号</span></p><p><span class=text-12style=font-size:12px;font-family:Arial>March 23,2023 </span></p><p> </p><p><span style=color:#999;font-family:Arial>MeiLin </span></p><p><span class=text-12style=font-size:12px;font-family:Arial>17,2013 </span></p><p> </p><p><span style=color:#999;font-family:Arial>Me Building</span></p><p><span class=text-12style=font-size:12px;font-family:Arial>November 6,2022</span></p><p> </p></section></section><span class=col_space style=width:5%></span><section id=oAAPvqNbbWhwulII class='col editor_wrapper col-20'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><p><spanstyle=color:#e5e5e5;font-family:Arial>联系方式</span></p><p> </p><p><span style=font-family:Arial>公众号</span></p><p><span class=text-26style=font-size:26px;color:#00e04d;font-family:MontDemo-Heavy>mengchatchat91</span></p><p> </p><p><span style=font-family:Arial>星期一 至 星期五</span></p><p><span style=font-family:Arial>早上9:00 – 下午18:00</span></p><p> </p><p> </p></section></section><span class=col_space style=width:5%></span><section id=DiCADYBXqSUdhZjc class='col editor_wrapper col-20'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><p><spanstyle=color:#e5e5e5;font-family:Arial>作品集</span></p><p> </p><p><span style=font-family:Arial>写真旅游摄影作品</span></p><hr class='hr dash'><p><span style=font-family:Arial>专业人像摄影</span></p><hr class='hr dash'><p><span style=font-family:Arial>婚纱摄影作品</span></p><hr class='hr dash'><p><span style=font-family:Arial>自然风光旅游摄影作品</span></p><p> </p></section></section><span class=col_space style=width:5%></span><section id=vVRzfmfELFWUNnLX class='col editor_wrapper col-20'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><p><span style=color:#fff>扫一扫关注</span></p><p> </p><figure class='image image-style-align-left image_resized'style=width:null%><imgsrc=./style/images/img/qrcode_for_gh.jpg></figure><p> </p></section></section><span class=col_space style=width:5%></span><section id=bEfEarBpxmNzfbBt class='col editor_wrapper col-20'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><p><span style=color:#e5e5e5;font-family:Arial>关于 我们</span></p><p> </p><p><span style=font-family:Arial>欢迎来到我们的旅游摄影网站,我深知每一次旅行都承载着独特的记忆和故事。</span></p><p> </p><p><span style=font-family:Arial>作为一个热爱旅行和摄影的行家,曾在世界各地旅行拍摄,我擅长运用光线、构图和色彩来表现旅行故事。</span></p><p> </p></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section><section id=EGDipLYXcXNvHKvm data-type-detail=custom data-justify_center=leftdata-align_center=top class=layout><div class=layout-margin_placeholder_top style=padding-top:0></div><section data-animate=0 data-key='' data-col=100 data-stick-parent=''class=row style=width:100%><section id=wzazMMJjdSjfvEOp class='col editor_wrapper col-100'style='border-radius:0;background-color:rgba(255, 255, 255, 0);padding:0'><section class='editor ck-content'><section class='blank_block big_blank'> </section></section></section></section><div class=layout-margin_placeholder_bottom style=padding-top:0></div></section></section></section></section></div></div></div></div></div></div><!-- 底部 --><script type="text/javascript" src="style/js/jquery.js"></script><script type="text/javascript" src="style/js/vender.js"></script><script type="text/javascript" src="style/js/app.js"></script>
</body>
</html>
然后,创建一个CSS文件,命名为vender.css
,并将以下代码添加到文件中:
body { font-family: Arial, sans-serif; margin: 0; padding: 0;
} header { background-color: #333; color: #fff;
} nav ul { list-style-type: none; margin: 0; padding: 0;
} nav ul li { display: inline; margin-right: 10px;
} nav ul li a { color: #fff; text-decoration: none;
} .hero { background-image: url('hero-image.jpg'); background-size: cover; height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
} .destination .gallery { display: flex; justify-content: center;
} .destination .gallery img { width: 300px; height: 200px; margin: 10px;
} .photography-tips ul { list-style-type: disc; margin-left: 20px;
}
......
还有app.css、others.css等样式表文件。
文件目录: