首页 > 代码库 > 基于bootstrap模板-现代浏览器博物馆网页源代码
基于bootstrap模板-现代浏览器博物馆网页源代码
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>现代浏览器博物馆</title> <link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> <!--[if lt IE 9]> <script src="http://www.mamicode.com/js/html5shiv.js"></script> <script src="http://www.mamicode.com/js/respond.min.js"></script> <![endif]--> <style> body{ padding-top: 50px; padding-bottom: 25px; } /*广告轮播*/ .carousel{ height: 500px; margin-bottom: 60px; } .carousel .item{ height: 500px; background-color: #000; } .carousel .item img{ width: 100%; } .carousel-caption{ z-index: 10; } .carousel-caption p{ margin-bottom: 20px; font-size: 20px; line-height: 1.8; } /*栅栏布局*/ .summary{ padding-right: 15px; padding-left: 15px; } .summary .col-md-4{ margin-bottom: 20px; text-align: center; } .feature-divider{ margin: 40px; } /*标签页*/ #feature-tab{ margin: 0 50px; } .feature{ padding:30px 0; } .fearure-cont{ margin-top: 90px; } .feature-heading{ font-size:50px; color:#2a6496; } .feature-heading .text-muted{ font-size:28px; } footer{ margin: 10px 40px; } </style> </head> <body> <!-- 顶部导航--> <nav class="navbar navbar-inverse navbar-fixed-top" rol="navigation" id="menu-nav"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collpased" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">切换导航</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="http://www.mamicode.com/#">现代浏览器博物馆</a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="http://www.mamicode.com/#ad-carousel">综述</a></li> <li><a href="http://www.mamicode.com/#summary-container">简述</a></li> <li class="dropdown"> <a href="http://www.mamicode.com/#" class="dropdown-toggle" data-toggle="dropdown">特点<span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li><a href="http://www.mamicode.com/#feature-tab" data-tab="tab-chrome">Chrome</a></li> <li><a href="http://www.mamicode.com/#feature-tab" data-tab="tab-firefox">Firefox</a></li> <li><a href="http://www.mamicode.com/#feature-tab" data-tab="tab-safari">Safari</a></li> <li><a href="http://www.mamicode.com/#feature-tab" data-tab="tab-opera">Opera</a></li> <li><a href="http://www.mamicode.com/#feature-tab" data-tab="tab-ie">IE</a></li> </ul> </li> <li><a href="http://www.mamicode.com/#" data-toggle="modal" data-target="#about-modal">关于</a></li> </ul> </div> </div> </nav> <!--广告轮播--> <div id="ad-carousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#ad-carousel" data-slide-to="0" class="active"></li> <li data-target="#ad-carousel" data-slide-to="1"></li> <li data-target="#ad-carousel" data-slide-to="2"></li> <li data-target="#ad-carousel" data-slide-to="3"></li> <li data-target="#ad-carousel" data-slide-to="4"></li> </ol> <div class="carousel-inner"> <div class="item active"> <img src="http://www.mamicode.com/images/chrome-big.jpg" alt="1 slide"> <div class="container"> <div class="carousel-caption"> <h1>Chrome</h1> <p>Google Chrome,又称Google浏览器,是一个由Google(谷歌)公司开发的网页浏览器。</p> <p><a class="btn btn-lg btn-primary" href="http://www.google.cn/intl/zh-CN/chrome/browser/" role="button" target="_blank">点我下载</a></p> </div> </div> </div> <div class="item"> <img src="http://www.mamicode.com/images/firefox-big.jpg" alt="1 slide"> <div class="container"> <div class="carousel-caption"> <h1>Firefox</h1> <p>Mozilla Firefox,中文名通常称为“火狐”或“火狐浏览器”,是一个开源网页浏览器。</p> <p><a class="btn btn-lg btn-primary" href="http://www.firefox.com.cn/download/" role="button" target="_blank">点我下载</a></p> </div> </div> </div> <div class="item"> <img src="http://www.mamicode.com/images/safari-big.jpg" alt="1 slide"> <div class="container"> <div class="carousel-caption"> <h1>Safari</h1> <p>Safari,是苹果计算机的最新操作系统Mac OS X中的浏览器。</p> <p><a class="btn btn-lg btn-primary" href="http://www.apple.com/cn/safari/" role="button" target="_blank">点我下载</a></p> </div> </div> </div> <div class="item"> <img src="http://www.mamicode.com/images/opera-big.jpg" alt="1 slide"> <div class="container"> <div class="carousel-caption"> <h1>Opera</h1> <p>Opera浏览器,是一款挪威Opera Software ASA公司制作的支持多页面标签式浏览的网络浏览器。</p> <p><a class="btn btn-lg btn-primary" href="http://www.opera.com/zh-cn" role="button" target="_blank">点我下载</a></p> </div> </div> </div> <div class="item"> <img src="http://www.mamicode.com/images/ie-big.jpg" alt="1 slide"> <div class="container"> <div class="carousel-caption"> <h1>IE</h1> <p>Internet Explorer,简称 IE,是微软公司推出的一款网页浏览器。</p> <p><a class="btn btn-lg btn-primary" href="http://ie.microsoft.com/" role="button" target="_blank">点我下载</a></p> </div> </div> </div> </div> <a class="left carousel-control" href="http://www.mamicode.com/#ad-carousel" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="right carousel-control" href="http://www.mamicode.com/#ad-carousel" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> </div> <!-- 栅栏布局--> <div class="container summary"> <div class="row" id="summary-container"> <div class="col-md-4"> <img class="img-circle" src="http://www.mamicode.com/images/chrome-logo-small.jpg" alt="chrome"> <h2>Chrome</h2> <p>Google Chrome,又称Google浏览器,是一个由Google(谷歌)公司开发的网页浏览器。</p> <p><a class="btn btn-default" href="http://www.mamicode.com/#" role="button">点我下载</a></p> </div> <div class="col-md-4"> <img class="img-circle" src="http://www.mamicode.com/images/firefox-logo-small.jpg" alt="firefox"> <h2>Firefox</h2> <p>Mozilla Firefox,中文名通常称为“火狐”或“火狐浏览器”,是一个开源网页浏览器。</p> <p><a class="btn btn-default" href="http://www.mamicode.com/#" role="button">点我下载</a></p> </div> <div class="col-md-4"> <img class="img-circle" src="http://www.mamicode.com/images/safari-logo-small.jpg" alt="safari"> <h2>Safari</h2> <p>Safari,是苹果计算机的最新操作系统Mac OS X中的浏览器。</p> <p><a class="btn btn-default" href="http://www.mamicode.com/#" role="button">点我下载</a></p> </div> </div> </div> <hr class="feature-divider"> <!--标签页--> <ul class="nav nav-tabs" role="tablist" id="feature-tab"> <li class="active"><a href="http://www.mamicode.com/#tab-chrome" role="tab" data-toggle="tab">Chrome</a></li> <li><a href="http://www.mamicode.com/#tab-firefox" role="tab" data-toggle="tab">Firefox</a></li> <li><a href="http://www.mamicode.com/#tab-safari" role="tab" data-toggle="tab">Safari</a></li> <li><a href="http://www.mamicode.com/#tab-opera" role="tab" data-toggle="tab">Opera</a></li> <li><a href="http://www.mamicode.com/#tab-ie" role="tab" data-toggle="tab">IE</a></li> </ul> <div class="container tab-content"> <div class="tab-pane active" id="tab-chrome"> <div class="row feature"> <div class="col-md-7 fearure-cont"> <h2 class="feature-heading">Google Chrome <span class="text-muted">使用最广的浏览器</span></h2> <p class="lead">Google Chrome,又称Google浏览器,是一个由Google(谷歌)公司开发的网页浏览器。该浏览器是基于其他开源软件所撰写,包括WebKit,目标是提升稳定性、速度和安全性,并创造出简单且有效率的使用者界面。</p> </div> <div class="col-md-5"> <img class="feature-image img-responsive" src="http://www.mamicode.com/images/chrome-logo.jpg" alt="Chrome"> </div> </div> </div> <div class="tab-pane" id="tab-firefox"> <div class="row feature"> <div class="col-md-5"> <img class="feature-image img-responsive" src="http://www.mamicode.com/images/firefox-logo.jpg" alt="Firefox"> </div> <div class="col-md-7 fearure-cont"> <h2 class="feature-heading">Mozilla Firefox <span class="text-muted">美丽的狐狸</span></h2> <p class="lead">Mozilla Firefox,中文名通常称为“火狐”或“火狐浏览器”,是一个开源网页浏览器,使用Gecko引擎(非ie内核),支持多种操作系统如Windows、Mac和linux。</p> </div> </div> </div> <div class="tab-pane" id="tab-safari"> <div class="row feature"> <div class="col-md-7"> <h2 class="feature-heading fearure-cont">Safari <span class="text-muted">Mac用户首选</span></h2> <p class="lead">Safari,是苹果计算机的最新操作系统Mac OS X中的浏览器,使用了KDE的KHTML作为浏览器的运算核心。Safari在2003年1月7日首度发行测试版,并成为Mac OS X v10.3与之后的默认浏览器,也是iPhone与IPAD和iPod touch的指定浏览器。</p> </div> <div class="col-md-5"> <img class="feature-image img-responsive" src="http://www.mamicode.com/images/safari-logo.jpg" alt="Safari"> </div> </div> </div> <div class="tab-pane" id="tab-opera"> <div class="row feature"> <div class="col-md-5"> <img class="feature-image img-responsive" src="http://www.mamicode.com/images/opera-logo.jpg" alt="Opera"> </div> <div class="col-md-7"> <h2 class="feature-heading fearure-cont">Opera <span class="text-muted">小众但易用</span> </h2> <p class="lead">Opera浏览器,是一款挪威Opera Software ASA公司制作的支持多页面标签式浏览的网络浏览器。是跨平台浏览器可以在Windows、Mac和Linux三个操作系统平台上运行。</p> </div> </div> </div> <div class="tab-pane" id="tab-ie"> <div class="row feature"> <div class="col-md-7"> <h2 class="feature-heading fearure-cont">IE <span class="text-muted">你懂的</span></h2> <p class="lead">Internet Explorer,原称Microsoft Internet Explorer(6版本以前)和Windows Internet Explorer(7,8,9,10版本),简称IE,是美国微软公司推出的一款网页浏览器。它采用的排版引擎(俗称内核)为Trident。</p> </div> <div class="col-md-5"> <img class="feature-image img-responsive" src="http://www.mamicode.com/images/ie-logo.jpg" alt="IE"> </div> </div> </div> </div> <hr class="divider"> <!--弹出框--> <div class="modal fade" id="about-modal" tabindex="-1" role="dialog" aria-labelledby="modal-label"aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span> </button> <h4 class="modal-title" id="modal-label">关于</h4> </div> <div class="modal-body"> <p>慕课网隶属于北京慕课科技中心(有限合伙),是一家从事互联网免费教学的网络教育公司。秉承“开拓、创新、公平、分享”的精神,将互联网特性全面的应用在教育领域,致力于为教育机构及求学者打造一站式互动在线教育品牌。</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">了解了</button> </div> </div> </div> </div> <!--footer--> <footer> <p class="pull-right"><a href="http://www.mamicode.com/#top">回到顶部</a></p> <p>?2017 - 7 - 6</p> </footer> <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> <script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script type="text/javascript"> // 菜单列表项定位标签页 $(function () { $(‘#menu-nav .navbar-collapse a‘).click(function (e) { var href = http://www.mamicode.com/$(this).attr(‘href‘);>
基于bootstrap模板-现代浏览器博物馆网页源代码
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。