<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Components - Twitter Bootstrap</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/docs.css" rel="stylesheet">
<link href="css/tm_docs.css" rel="stylesheet">
<link href="css/prettify.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<link href="css/ie.css" rel="stylesheet">
<script src="http//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar">
<!-- Navbar
================================================== -->
<div class="navbar navbar-inverse navbar-fixed-top" id="advanced">
<span class="trigger"><strong></strong><em></em></span>
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="scaffolding.html">Bootstrap</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="home">
<a href="../index.html"><img src="img/tm/tm_home.png" alt=""></a>
</li>
<li class="divider-vertical"></li>
<li class="">
<a href="scaffolding.html">Scaffolding</a>
</li>
<li class="">
<a href="base-css.html">Base CSS</a>
</li>
<li class="active">
<a href="components.html">Components</a>
</li>
<li class="">
<a href="javascript.html">Javascript</a>
</li>
<li class="divider-vertical"></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">TM add-ons <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="../404.html">Pages</a>
<ul>
<li><a href="under_construction.html">Under Construction</a></li>
<li><a href="intro.html">Intro Page</a></li>
<li><a href="../404.html">404 page</a></li>
</ul>
</li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="slider.html">Slider</a></li>
<li><a href="social_media.html">Social and Media<br> Sharing</a></li>
<li><a href="css3.html">CSS3 Tricks</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
<div class="container">
<h1>Components</h1>
<p class="lead">Dozens of reusable components built to provide navigation, alerts, popovers, and more.</p>
</div>
</header>
<div class="container">
<!-- Docs nav
================================================== -->
<div class="row">
<div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav">
<li><a href="#dropdowns"><i class="icon-chevron-right"></i> Dropdowns</a></li>
<li><a href="#buttonGroups"><i class="icon-chevron-right"></i> Button groups</a></li>
<li><a href="#buttonDropdowns"><i class="icon-chevron-right"></i> Button dropdowns</a></li>
<li><a href="#navs"><i class="icon-chevron-right"></i> Navs</a></li>
<li><a href="#navbar"><i class="icon-chevron-right"></i> Navbar</a></li>
<li><a href="#breadcrumbs"><i class="icon-chevron-right"></i> Breadcrumbs</a></li>
<li><a href="#pagination"><i class="icon-chevron-right"></i> Pagination</a></li>
<li><a href="#labels-badges"><i class="icon-chevron-right"></i> Labels and badges</a></li>
<li><a href="#typography"><i class="icon-chevron-right"></i> Typography</a></li>
<li><a href="#thumbnails"><i class="icon-chevron-right"></i> Thumbnails</a></li>
<li><a href="#alerts"><i class="icon-chevron-right"></i> Alerts</a></li>
<li><a href="#progress"><i class="icon-chevron-right"></i> Progress bars</a></li>
<li><a href="#misc"><i class="icon-chevron-right"></i> Misc</a></li>
</ul>
</div>
<div class="span9">
<!-- Dropdowns
================================================== -->
<section id="dropdowns">
<div class="page-header">
<h1>Dropdown menus</h1>
</div>
<h2>Example</h2>
<p>Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p>
<div class="bs-docs-example">
<div class="dropdown clearfix">
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
<li><a tabindex="-1" href="#">Action</a></li>
<li><a tabindex="-1" href="#">Another action</a></li>
<li><a tabindex="-1" href="#">Something else here</a></li>
<li class="divider"></li>
<li><a tabindex="-1" href="#">Separated link</a></li>
</ul>
</div>
</div>
<pre class="prettyprint linenums">
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
<li><a tabindex="-1" href="#">Action</a></li>
<li><a tabindex="-1" href="#">Another action</a></li>
<li><a tabindex="-1" href="#">Something else here</a></li>
<li class="divider"></li>
<li><a tabindex="-1" href="#">Separated link</a></li>
</ul>
</pre>
<h2>Markup</h2>
<p>Looking at just the dropdown menu, here's the required HTML. You need to wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then just create the menu.</p>
<pre class="prettyprint linenums">
<div class="dropdown">
<!-- Link or button to toggle dropdown -->
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li><a tabindex="-1" href="#">Action</a></li>
<li><a tabindex="-1" href="#">Another action</a></li>
<li><a tabindex="-1" href="#">Something else here</a></li>
<li class="divider"></li>
<li><a tabindex="-1" href="#">Separated link</a></li>
</ul>
</div>
</pre>
<h2>Options</h2>
<p>Align menus to the right and add include additional levels of dropdowns.</p>
<h3>Aligning the menus</h3>
<p>Add <code>.pull-right</code> to a <code>.dropdown-menu</code> to right align the dropdown menu.</p>
<pre class="prettyprint linenums">
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dLabel">
...
</ul>
</pre>
<h3>Sub menus on dropdowns</h3>
<p>Add an extra level of dropdown menus, appearing on hover like those of OS X, with some simple markup additions. Add <code>.dropdown-submenu</code> to any <code>li</code> in an existing dropdown menu for automatic styling.</p>
<div class="bs-docs-example">
没有合适的资源?快使用搜索试试~ 我知道了~
滚动屏.zip
共309个文件
png:154个
jpg:80个
js:33个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 58 浏览量
2024-04-18
01:54:48
上传
评论
收藏 4.92MB ZIP 举报
温馨提示
【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论
收起资源包目录
滚动屏.zip (309个子文件)
bootstrap.css 115KB
bootstrap.css 114KB
tm_docs.css 65KB
camera.css 26KB
style.css 23KB
docs.css 21KB
bootstrap-responsive.css 21KB
responsive.css 20KB
kwicks-slider.css 4KB
touchTouch.css 2KB
ie.css 2KB
search.css 858B
prettify.css 815B
ie.css 220B
camera-loader.gif 9KB
logo.gif 3KB
spinner.gif 3KB
loader.gif 3KB
360x268.gif 1KB
border-horiz.gif 1KB
blank.gif 1KB
260x180.gif 949B
160x120.gif 539B
components.html 92KB
javascript.html 84KB
base-css.html 83KB
portfolio.html 41KB
scaffolding.html 24KB
social_media.html 20KB
css3.html 20KB
slider.html 12KB
index.html 11KB
index-3.html 9KB
index-1.html 7KB
index-4.html 7KB
index-5.html 7KB
index-2.html 7KB
under_construction.html 6KB
404.html 5KB
intro.html 5KB
index.html 142B
favicon.ico 5KB
shelter.jpg 350KB
tree.jpg 291KB
bridge.jpg 256KB
road.jpg 254KB
leaf.jpg 174KB
bootstrap-mdo-sfmoma-01.jpg 128KB
slide-4.jpg 123KB
page4-img1.jpg 123KB
big_bunny_fake.jpg 118KB
slide-3.jpg 116KB
slide-1.jpg 111KB
700x430_6.jpg 109KB
sea.jpg 105KB
700x430_8.jpg 105KB
page2-img4.jpg 100KB
700x430_2.jpg 97KB
bg-content.jpg 89KB
700x430_5.jpg 83KB
bootstrap-mdo-sfmoma-02.jpg 83KB
slide-5.jpg 82KB
page4-img2.jpg 82KB
700x430_4.jpg 76KB
700x430_7.jpg 76KB
700x430_3.jpg 71KB
700x430_1.jpg 69KB
page2-img6.jpg 62KB
slide-2.jpg 59KB
page2-img2.jpg 58KB
page2-img3.jpg 55KB
bootstrap-mdo-sfmoma-03.jpg 50KB
page2-img1.jpg 47KB
page1-img5.jpg 43KB
page2-img5.jpg 37KB
page3-img7.jpg 34KB
page3-img4.jpg 33KB
page1-img3.jpg 27KB
page3-img6.jpg 26KB
page3-img13.jpg 25KB
page3-img2.jpg 24KB
page3-img15.jpg 24KB
page3-img5.jpg 24KB
page3-img8.jpg 22KB
page3-img3.jpg 22KB
page3-img12.jpg 22KB
page3-img11.jpg 22KB
page3-img9.jpg 20KB
page3-img10.jpg 18KB
page3-img14.jpg 17KB
page1-img2.jpg 17KB
page3-img1.jpg 16KB
page3-img16.jpg 16KB
page1-img1.jpg 13KB
page1-img4.jpg 12KB
page1-img12.jpg 11KB
120x120_8.jpg 11KB
page1-img16.jpg 10KB
page1-img15.jpg 10KB
120x120_2.jpg 10KB
共 309 条
- 1
- 2
- 3
- 4
资源评论
CyMylive.
- 粉丝: 6883
- 资源: 4万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功