Button groups

Use button groups to join multiple buttons together as one composite component. Build them with a series of <a> or <button> elements.

Best practices

We recommend the following guidelines for using button groups and toolbars:

  • Always use the same element in a single button group, <a> or <button>.
  • Don't mix buttons of different colors in the same button group.
  • Use icons in addition to or instead of text, but be sure include alt and title text where appropriate.

Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.

Default example

Here's how the HTML looks for a standard button group built with anchor tag buttons:

<div class="btn-group">
  <button class="btn">1</button>
  <button class="btn">2</button>
  <button class="btn">3</button>
</div>

Toolbar example

Combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.

<div class="btn-toolbar">
  <div class="btn-group">
    ...
  </div>
</div>

Checkbox and radio flavors

Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View the Javascript docs for that.

Get the javascript »

Dropdowns in button groups

Heads up! Buttons with dropdowns must be individually wrapped in their own .btn-group within a .btn-toolbar for proper rendering.


Button dropdowns

Example markup

Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.

<div class="btn-group">
  <a class="btn dropdown-toggle" data-toggle="dropdown" href="https://7asr.mijiaju.cn/">
    Action
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>

Works with all button sizes

Button dropdowns work at any size. your button sizes to .btn-large, .btn-small, or .btn-mini.

Requires javascript

Button dropdowns require the Bootstrap dropdown plugin to function.

In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.


Split button dropdowns

Overview and examples

Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.

Sizes

Utilize the extra button classes .btn-mini, .btn-small, or .btn-large for sizing.

<div class="btn-group">
  ...
  <ul class="dropdown-menu pull-right">
    <!-- dropdown menu links -->
  </ul>
</div>

Example markup

We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.

<div class="btn-group">
  <button class="btn">Action</button>
  <button class="btn dropdown-toggle" data-toggle="dropdown">
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>

Dropup menus

Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu. It will flip the direction of the .caret and reposition the menu itself to move from the bottom up instead of top down.

<div class="btn-group dropup">
  <button class="btn">Dropup</button>
  <button class="btn dropdown-toggle" data-toggle="dropdown">
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>




Multicon-page pagination

When to use

Ultra simplistic and minimally styled pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.

Stateful page links

Links are customizable and work in a number of circumstances with the right class. .disabled for unclickable links and .active for current page.

Flexible alignment

Add either of two optional classes to change the alignment of pagination links: .pagination-centered and .pagination-right.

Examples

The default pagination component is flexible and works in a number of variations.

Markup

Wrapped in a <div>, pagination is just a <ul>.

<div class="pagination">
  <ul>
    <li><a href="https://7asr.mijiaju.cn/">Prev</a></li>
    <li class="active">
      <a href="https://7asr.mijiaju.cn/">1</a>
    </li>
    <li><a href="https://7asr.mijiaju.cn/">2</a></li>
    <li><a href="https://7asr.mijiaju.cn/">3</a></li>
    <li><a href="https://7asr.mijiaju.cn/">4</a></li>
    <li><a href="https://7asr.mijiaju.cn/">Next</a></li>
  </ul>
</div>

Pager For quick previous and next links

About pager

The pager component is a set of links for simple pagination implementations with light markup and even lighter styles. It's great for simple sites like blogs or magazines.

Optional disabled state

Pager links also use the general .disabled class from the pagination.

Default example

By default, the pager centers links.

<ul class="pager">
  <li>
    <a href="https://7asr.mijiaju.cn/">Previous</a>
  </li>
  <li>
    <a href="https://7asr.mijiaju.cn/">Next</a>
  </li>
</ul>

Aligned links

Alternatively, you can align each link to the sides:

<ul class="pager">
  <li class="previous">
    <a href="https://7asr.mijiaju.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="https://7asr.mijiaju.cn/">Newer &rarr;</a>
  </li>
</ul>

Labels Markup
Default <span class="label">Default</span>
Success <span class="label label-success">Success</span>
Warning <span class="label label-warning">Warning</span>
Important <span class="label label-important">Important</span>
Info <span class="label label-info">Info</span>
Inverse <span class="label label-inverse">Inverse</span>

About

Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.

Available classes

Name Example Markup
Default 1 <span class="badge">1</span>
Success 2 <span class="badge badge-success">2</span>
Warning 4 <span class="badge badge-warning">4</span>
Important 6 <span class="badge badge-important">6</span>
Info 8 <span class="badge badge-info">8</span>
Inverse 10 <span class="badge badge-inverse">10</span>

Hero unit

Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.

Markup

Wrap your content in a div like so:

<div class="hero-unit">
  <h1>Heading</h1>
  <p>Tagline</p>
  <p>
    <a class="btn btn-primary btn-large">
      Learn more
    </a>
  </p>
</div>

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more


Page header

A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).

<div class="page-header">
  <h1>Example page header</h1>
</div>

Default thumbnails

By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.

Highly customizable

With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

Why use thumbnails

Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.

Simple, flexible markup

Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.

Uses grid column sizes

Lastly, the thumbnails component uses existing grid system classes—like .span2 or .span3—for control of thumbnail dimensions.

The markup

As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup for linked images:

<ul class="thumbnails">
  <li class="span3">
    <a href="https://7asr.mijiaju.cn/" class="thumbnail">
      <img src="http://placehold.it/260x180" alt="">
    </a>
  </li>
  ...
</ul>

For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <a> for a <div> like so:

<ul class="thumbnails">
  <li class="span3">
    <div class="thumbnail">
      <img src="http://placehold.it/260x180" alt="">
      <h5>Thumbnail label</h5>
      <p>Thumbnail caption right here...</p>
    </div>
  </li>
  ...
</ul>

More examples

Explore all your options with the various grid classes available to you. You can also mix and match different sizes.


Lightweight defaults

Rewritten base class

With Bootstrap 2, we've simplified the base class: .alert instead of .alert-message. We've also reduced the minimum required markup—no <p> is required by default, just the outer <div>.

Single alert message

For a more durable component with less code, we've removed the differentiating look for block alerts, messages that come with more padding and typically more text. The class also has changed to .alert-block.


Goes great with javascript

Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.

Get the plugin »

Example alerts

Wrap your message and an optional close icon in a div with simple class.

Warning! Best check yo self, you're not looking too good.
<div class="alert">
  <button class="close" data-dismiss="alert">×</button>
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>

Heads up! iOS devices require an href="https://7asr.mijiaju.cn/" for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.

Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.

Warning!

Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

<div class="alert alert-block">
  <a class="close" data-dismiss="alert" href="https://7asr.mijiaju.cn/">×</a>
  <h4 class="alert-heading">Warning!</h4>
  Best check yo self, you're not...
</div>

Contextual alternatives Add optional classes to change an alert's connotation

Error or danger

Oh snap! Change a few things up and try submitting again.
<div class="alert alert-error">
  ...
</div>

Success

Well done! You successfully read this important alert message.
<div class="alert alert-success">
  ...
</div>

Information

Heads up! This alert needs your attention, but it's not super important.
<div class="alert alert-info">
  ...
</div>

Examples and markup

Basic

Default progress bar with a vertical gradient.

<div class="progress">
  <div class="bar"
       style="width: 60%;"></div>
</div>

Striped

Uses a gradient to create a striped effect (no IE).

<div class="progress progress-striped">
  <div class="bar"
       style="width: 20%;"></div>
</div>

Animated

Takes the striped example and animates it (no IE).

<div class="progress progress-striped
     active">
  <div class="bar"
       style="width: 40%;"></div>
</div>

Options and browser support

Additional colors

Progress bars use some of the same button and alert classes for consistent styles.

Striped bars

Similar to the solid colors, we have varied striped progress bars.

Behavior

Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.

If you use the .active class, your .progress-striped progress bars will animate the stripes left to right.

Browser support

Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.

Opera and IE do not support animations at this time.

Wells

Use the well as a simple effect on an element to give it an inset effect.

Look, I'm in a well!
<div class="well">
  ...
</div>

Close icon

Use the generic close icon for dismissing content like modals and alerts.

<button class="close">&times;</button>

iOS devices require an href="https://7asr.mijiaju.cn/" for click events if you rather use an anchor.

<a class="close" href="https://7asr.mijiaju.cn/">&times;</a>
华企立方网站为什么信息安全学费高南昌网络营销课程是网络营销的劣势武大 信息安全网站建设关键词酒店网络安全三只松鼠新媒体营销网络安全局电话聚美营销策略 英文版 重生到了弱肉强食的修真世界。 资质太差,无法修仙,成了方家废柴。 强者为尊的时代,家族繁荣如同薄纸,触碰即破! 于是,不甘沦为废柴的方休,在古书中寻到修仙之法,成为灵修者。 上一世,是和谐社会救了那些作恶的人。这一世,我修仙成道,举全身之力,灭掉所有不公和压迫!人生的意义是什么? 笔者人处中年,有很多事和人掺杂着许许多多的片段,不时的出现在脑海中。可能是一个画面、可能是一首歌、又或许是一张熟悉又陌生的面孔。 记得北洼坑里活着泥的宏伟,小飞;苹果树园子里被大人追着跑的茂恒,国夺;骑车子去四庄上学的伙伴;爬墙头被主任抓的蓝猫,黑强;初中和临班打架时的冲动;高中一起打篮球的队友;辍学后自己当老板时候的胡闹;预科大学五排开黑的欢乐时光;结婚时候的无奈与开心;进场蹭模具的996生活;初出茅庐后差点下线的事故;孩子降生后的生活日常;父母的离异;孩子的自闭症生活;白天上班晚上兼职的无奈;亲身经历自杀的绝望;家人的离世;再创业时候的艰辛;苦尽甘来的艰难与美好;等等······· 这些只是我人生的一部分,我想留下这些“美好”,也不旺我来这嘈杂的世间走一趟。 人生的意义是什么? 与我看来,就是这些文字能被后人看到,有所启发;也想给我的孩子,留下他父亲的平凡和伟大。 ---蛆先生如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。 少年从小厄运缠身,身边人一个个离去,阴差阳错来到异世大陆,被人救治,却给救人者带来不幸,自己也再次涉险,从此开始流浪,在流浪中修炼,在流浪中成长,最终......陈岁年离婚了,前妻嫌贫爱富,抛夫弃女。 没想到,刚离婚就觉醒了系统。 拥有了一块每天都能刷新出各种蔬菜、水果、药材的肥沃土地。 陈岁年决定在犹如世外桃源般的桃花村定居,没想到,系统隔三差五就送给他各种技能。 没过多久,陈岁年还发现,那块神奇的土地,仅仅只是系统的冰山一角! 更多的秘密,在等待着他去揭开!如果虫洞能像任意门一样随意遥控,你最想做的是什么? 那我要先去修仙界种田,然后去外星人那种矿石,还要去魔法界打蓝BUFF,反正还有好多好多,想到再说吧...... 什么?想打洗我?那根本不可能的,你先把我的小弱鸡打赢再说吧! 天呐~ 想去大塘旅行的游客,都把卷帘门给都挤掉了,再排下去恐怕都要上高速了! 能不能先让这些飞机让道?为什么要让道?因为你看天上!我的个娘诶,这是要下机崽子,还是想吃压路饼啊?你妹的,这星际母舰敢不敢再大点哇?恐怖降临笼罩全球。 天才少年宋藏刚进恐怖副本就卡到Bug,获得偷听鬼怪心声的能力,还有大威天龙身上纹。 开局监狱蹬缝纫机,扭断车间主任亲儿子的头:小毕登,硬核物理超度了解一下! 去学院当教师,带领学生攻占学院:你就是校长鬼?跪下,给全校学生磕999个响头,见血的那种! 去小山村下乡,屠戮全村:“村长,麻烦你把村民都召集到一起,我有些事要宣布。” 这个玩家玩游戏,挺费鬼的……天地初开,万物初生。 茫茫雾虚山中走来一批修为惊天,超凡脱俗的人,世人称之为“修真者”一次任上失误,小判官降临人世缉拿逃犯将功赎罪,缺不小心在世间创下系列故事,看看他如何在纷繁世间成就神鬼之判永安不安!白焰不白!一团苟延残喘的青焰,一个没落门派的弟子,一段埋葬在时间长河的秘史,千年的和平似乎让人们忘记了曾经的威胁,在这诸天星海,万界之族中,苦而弥坚的人族、据高临下的妖族、作壁上观的神族以及……在这万类霜天竞自由中,谁为棋子?谁为棋手?
上海市信息安全行业协会 潍坊网站推广 沈阳 网站开发制作 福州专业网站建设 网络安全领导访谈 工信部网络安全负责人 网站版面设计 深圳品牌营销案例 酒店网络营销 潍坊网站推广 孩子不爱读书的家长引导咨询【www.richdady.cn】 人际关系不好的解决方法【www.richdady.cn】 莫名其妙感伤的前世因果咨询【www.richdady.cn】 孩子学习不好的案例分享咨询【www.richdady.cn】 前世今生的轮回理论咨询【www.richdady.cn】 前世老公咨询【企鹅383550880】√转ihbwel 头脑混沌的生活习惯咨询【企鹅383550880】√转ihbwel 亲子关系的共同成长方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 大龄剩女【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主化解咨询【企鹅383550880】√转ihbwel 性压抑的情感释放【σσЗ8З55О88О√转ihbwel 冤亲债主干扰对生活有哪些影响?咨询【σσЗ8З55О88О√转ihbwel 缺心眼的前世因果【企鹅383550880】√转ihbwel 心特别累的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的心理分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的前世案例咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子不读书的解决方法【www.richdady.cn】√转ihbwel 化解咨询【微:qq383550880 】√转ihbwel 前世今生的缘分揭秘咨询【σσЗ8З55О88О√转ihbwel 发育倒退的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 医院信息安全建设方案,-1 2016国际信息安全事件 微信营销的好处和弊端 信息安全 壁纸 网站类型 微营销案例 vpn网络安全技术案例 信息安全业务种类 市场营销策略及案例分析 贵阳网站设计 2013年进行互联网营销推广的企业各种网络营销方式的渗透 网络安全握手 北京邮电大学 信息安全中心 统计网络安全 交互式网站设计 深圳 网络安全 内容安全 信息安全 壁纸 潍坊网站推广 沈阳 网站开发制作 信息安全风险评估服务 学网络营销学费多少钱 建立个人网站多少钱 朝鲜 网络安全 酒店网络营销 网络营销手机 网站构建 网络安全 等级 资质 怎么创建网站/ 天津市网站制作 公司 互联网信息安全评测认证 微信营销的好处和弊端 专业网站建设 网络安全扫描 标准 网络安全方面的论坛 酒店网络营销 工业控制网络安全考题 网络营销公司机构排名 获信息安全服务资质二级 静态网站有哪些优点 为来确保信息安全传输加密时 长沙做最好网站 网站制作建设 宝安网站制作公司 警惕网络窃密构筑网络安全防火墙视频 酒店网络安全 娃哈哈营销市场分析 湖南网站seo常州网站制作企业 福州专业网站建设 网站类型 统计网络安全 网络营销工资 湖南网站seo常州网站制作企业 网络安全法 防病毒 宝洁网络营销现状 信息安全威胁发展趋势 网络安全法 防病毒 惠州网站建设 网络营销公司机构排名 全网市场营销有限公司 网络安全新技术新应用网络安全检测方案 东莞设计网站企业 网络安全协会发展问题 聚美营销策略 英文版 陕西省信息安全竞赛 工业信息安全培训 小程序在建网站吗? 国内信息安全网站,-1 淘宝双十一的营销策略分析 营销平台 五级网络安全 中国信息安全测评认证中心 网站营销公司 蹭别人的网络安全吗 建立个人网站多少钱 b2c网站建设 网络营销策划术语 信息安全业务种类 医院互联网营销案例 潍坊网站推广 为何网站需改版 商务网站制作公司 获信息安全服务资质二级 郑州网站设计专家 青岛的网站设计 国家信息安全管理部门 网站制作建设 河南网站建设 人工智能与网络安全 网络营销课 娃哈哈营销市场分析 微网站 网络安全 内容安全 星巴克网络营销的价值 统计网络安全 移动互联营销思维 语言营销 网络信息安全的公司排名 三只松鼠新媒体营销 网络营销营利模式 网络安全测试平台 小程序在建网站吗? 网络营销策划书结构 颠覆式营销 小程序在建网站吗? 武大 信息安全 工业控制网络安全考题 网络信息安全的公司排名 专业网站建设 信息安全威胁发展趋势 宁波网上营销网 网络安全新技术新应用网络安全检测方案 vpn网络安全技术案例 提供常州网站推广 警惕网络窃密构筑网络安全防火墙视频 信息安全保护的方法 网络营销手机 网络信息安全入门 网络信息安全所属学科,-1 上海集团网站制作 信息安全 壁纸 宝洁网络营销现状 湖南网站seo常州网站制作企业 宁波网上营销网 市场营销策略及案例分析 信息系统运营使用单位的信息安全等级保护工作情况进行检查 网络营销策划成功案例 长沙做最好网站 杭电信息安全专业怎样 网络营销具备的知识 网络安全综合管理平台 中国网络安全事例 信息安全产品测评认证级别 为什么信息安全学费高 国家信息安全管理部门 地方门户网站制作