时间:2023-07-22 22:21:02 | 来源:网站运营
时间:2023-07-22 22:21:02 来源:网站运营
大学生简单静态HTML网页模板源码——家乡介绍美丽乡村11页:<!DOCTYPE html><html lang="zh-CN"><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <meta name="keywords" content="美好乡村 板石岭"> <meta name="description" content="美好乡村 板石岭"> <link rel="stylesheet" type="text/css" href="css/2016.css"> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/lubotu.js"></script> <script type="text/javascript" src="js/BreakingNews.js"></script></head><body><!-- 头部开始 --><div class="header"> <div class="menu"> <div class="logo"><a href="">美好乡村 板石岭</a></div> <div class="nav"> <ul> <li class="on"><a href="" target="_self">首页</a></li> <li><a href="about.html" target="_self">走进板石岭</a></li> <li><a href="news.html" target="_self">旅游动态</a></li> <li><a href="product.html" target="_self">特产特色</a></li> <li class="nav_r"><a href="help.html" target="_self">制作说明</a></li> </ul> </div> </div></div><!-- 头部结束 --><!-- banner开始 --><div class="banner"> <div class="bottom"><a id="bottom" href="#top">Bottom</a></div> <div class="lubo"> <ul class='lubo_box'> <li style='opacity: 1;filter:alpha(opacity=100);'><a href='#' style='background:url(picture/banner1.jpg) center top no-repeat'></a></li> <li><a href='#' style='background:url(picture/banner2.jpg) center top no-repeat'></a></li> <li><a href='#' style='background:url(picture/banner3.jpg) center top no-repeat'></a></li> </ul> </div></div><!-- banner结束 --><!-- 主体部分开始 --><div class="main"> <div class="news"> <div class="BreakingNewsController easing" id="breakingnews2"> <div class="bn-title"></div> <ul id="abc"> <li><a href="show.html">家发镇联三村:美好乡村板石岭文化亮点</a></li> <li><a href="show2.html">铜陵、繁昌两地驴友携手同游美好乡村板石岭</a></li> <li><a href="show3.html">板石岭 看山水风光品味原生态的自然生活</a></li> </ul> <div class="bn-arrows"> <span class="bn-arrows-left"></span> <span class="bn-arrows-right"></span> </div> </div> </div> <div class="product"> <ul> <li><a href="product_1.html" target="_blank"><img src="picture/news1.jpg" width="280" height="210"><span>丰富的乡村文化生活</span></a></li> <li><a href="product_2.html" target="_blank"><img src="picture/news2.jpg" width="280" height="210"><span>纯手工制作的板石岭茶干</span></a></li> <li class="mr0"><a href="product_3.html" target="_blank"><img src="picture/news3.jpg" width="280" height="210"><span>板石岭农村文化展示馆</span></a></li> </ul> </div></div><!-- 主体部分结束 --><!-- 底部开始 --><div class="footer" id="top"> <div class="footer-bottom"> 版权所有 © </div></div><!-- 底部结束 --><div id="share"><a id="a1">返回顶部</a></div><script>$(function(){ //首先将#back-to-top隐藏 $("#a1").hide(); //当滚动条的位置处于距顶部100像素以下时,跳转链接出现,否则消失 $(function () { $(window).scroll(function(){ if ($(window).scrollTop()>100){ $("#a1").fadeIn(); } else { $("#a1").fadeOut(); } }); //当点击跳转链接后,回到页面顶部位置 $("#a1").click(function(){ $('body,html').animate({scrollTop:0},500); return false; }); $("#bottom").click(function(){ $('body,html').animate({ scrollTop: $($(this).attr("href")).offset().top + "px" },500); return false; }); }); // 滚动新闻 $('#breakingnews2').BreakingNews({ title: '旅游动态', timer: 4000, effect: 'slide' }); // 轮播图 $(".lubo").lubo({});}); </script></body></html><style> .main{ background-image: url('picture/logo.png'); }</style>
* {margin:0;padding:0;}body {font-size:14px;line-height: 180%; font-family:"Microsoft Yahei" , arial; ;background-color:#f5f5f5;color:#333333;text-align: left;}a {color:#666666; text-decoration: none;}a:hover {color:#12673b;}li {list-style: none;}img {border: none;}h1, h2, h3, h4, h5, h6, small { font-size: 100%; font-weight: normal !important; }.mr0 {margin-right:0 !important;}/*头部导航*/.header {width:100%;height:70px; line-height:70px; position:fixed;background:#ffffff;filter:alpha(opacity=80);-moz-opacity:0.80;opacity:0.80;-moz-box-shadow:2px 2px 5px #999999; -webkit-box-shadow:2px 2px 5px #999999; box-shadow:2px 2px 5px #999999;z-index: 1000;}.menu {width:960px;margin:0 auto;overflow: hidden;}.logo {float:left;width:237px;}.logo a {display: block;background:url(../image/logo.png) no-repeat center center; text-indent:-9999px;background-size: 100% 100%; }.nav {float:right;}.nav li {float:left;width:80px;padding:0 10px;text-align: center;height:68px; line-height: 68px;background:url(../image/nav-line.jpg) no-repeat center right;font-size:16px;}.nav li.on a {color:#12673b;}.nav li a {display: block;}.nav li a:hover {border-bottom:2px solid #12673b;}.nav li.nav_r {background:none;}.nav li.nav_r a {color:#ff0000;}.nav li.nav_r a:hover {border-bottom:2px solid #ff0000;}/*banner*/.banner {width:100%;position: relative;}.bottom {width:75px;height:86px;position: absolute; left:50%;margin-left:-38px;bottom:20px;z-index: 999;}.bottom a {display:block;width:76px;height:86px;background:url(../image/bottom.png) no-repeat center center;text-indent: -9999px;}.lubo{ width: 100%; min-width:1170px;clear: both; position: relative; height:674px;} .lubo_box{ position: relative; width: 100%; height:624px; } .lubo_box li{ float: left;position: absolute; top: 0; left: 0; width: 100%; height:624px; opacity: 0;filter:alpha(opacity=0);} .lubo_box li a{ display: block;width: 100%; height: 100%;} .lubo_box li img{ width: 100%; height: 624px;} /*圆点*/ .cir_box{ overflow: hidden; position: absolute; z-index: 100;} .cir_box li{ float: left; width: 70px; height: 5px; margin:0 5px; cursor: pointer; background: #fff; opacity: 0.8;filter:alpha(opacity=80);} .cir_on{ background: #f4a42b !important;} /*按钮*/ .lubo_btn{ position: absolute; width: 100%; top: 50%;margin-top:-20px;} .left_btn, .right_btn{ width: 40px; height: 50px; background: #00ad4f;/*opacity: 0.9;filter:alpha(opacity=90); */cursor: pointer; color: #fff; line-height: 45px; font-size: 30px; text-align: center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none; box-shadow: inset 0 -4px 0 #009842} .left_btn{ float: left;border-radius:0 5px 5px 0px;} .right_btn{ float: right;border-radius:5px 0px 0px 5px;}
请 “ 点赞” “✍️评论” “ 收藏”
一键三连哦!❤️【 关注我| 获取更多源码 | 优质文章】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!关键词:家乡,美丽,乡村,静态,简单,模板,大学生