亚洲一区二区三区在线播放,伊人久久精品无码av一区,亚洲国产精品一区二区第一页免,无码aⅴ精品一区二区三区浪潮

Collapse

Toggle the visibility of content across your project with a few classes and our JavaScript plugins.

How it works

The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the height from its current value to 0. Given how CSS handles animations, you cannot use padding on a .collapse element. Instead, use the class as an independent wrapping element.

The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation.

Example

Click the buttons below to show and hide another element via class changes:

  • .collapse hides content
  • .collapsing is applied during transitions
  • .collapse.show shows content

Generally, we recommend using a button with the data-bs-target attribute. While not recommended from a semantic point of view, you can also use a link with the href attribute (and a role="button"). In both cases, the data-bs-toggle="collapse" is required.

Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
<p>
  <a class="btn btn-primary" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
    Link with href
  </a>
  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
    Button with data-bs-target
  </button>
</p>
<div class="collapse" id="collapseExample">
  <div class="card card-body">
    Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
  </div>
</div>

Multiple targets

A <button> or <a> can show and hide multiple elements by referencing them with a selector in its href or data-bs-target attribute. Multiple <button> or <a> can show and hide an element if they each reference it with their href or data-bs-target attribute

Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
<p>
  <a class="btn btn-primary" data-bs-toggle="collapse" href="#multiCollapseExample1" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">Toggle first element</a>
  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#multiCollapseExample2" aria-expanded="false" aria-controls="multiCollapseExample2">Toggle second element</button>
  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target=".multi-collapse" aria-expanded="false" aria-controls="multiCollapseExample1 multiCollapseExample2">Toggle both elements</button>
</p>
<div class="row">
  <div class="col">
    <div class="collapse multi-collapse" id="multiCollapseExample1">
      <div class="card card-body">
        Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
      </div>
    </div>
  </div>
  <div class="col">
    <div class="collapse multi-collapse" id="multiCollapseExample2">
      <div class="card card-body">
        Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
      </div>
    </div>
  </div>
</div>

Accessibility

Be sure to add aria-expanded to the control element. This attribute explicitly conveys the current state of the collapsible element tied to the control to screen readers and similar assistive technologies. If the collapsible element is closed by default, the attribute on the control element should have a value of aria-expanded="false". If you’ve set the collapsible element to be open by default using the show class, set aria-expanded="true" on the control instead. The plugin will automatically toggle this attribute on the control based on whether or not the collapsible element has been opened or closed (via JavaScript, or because the user triggered another control element also tied to the same collapsible element). If the control element’s HTML element is not a button (e.g., an <a> or <div>), the attribute role="button" should be added to the element.

If your control element is targeting a single collapsible element – i.e. the data-bs-target attribute is pointing to an id selector – you should add the aria-controls attribute to the control element, containing the id of the collapsible element. Modern screen readers and similar assistive technologies make use of this attribute to provide users with additional shortcuts to navigate directly to the collapsible element itself.

Note that Bootstrap’s current implementation does not cover the various optional keyboard interactions described in the WAI-ARIA Authoring Practices 1.1 accordion pattern - you will need to include these yourself with custom JavaScript.

Sass

Variables

$transition-collapse:         height .35s ease;

Classes

Collapse transition classes can be found in scss/_transitions.scss as these are shared across multiple components (collapse and accordion).

.collapse {
  &:not(.show) {
    display: none;
  }
}

.collapsing {
  height: 0;
  overflow: hidden;
  @include transition($transition-collapse);
}

Usage

The collapse plugin utilizes a few classes to handle the heavy lifting:

  • .collapse hides the content
  • .collapse.show shows the content
  • .collapsing is added when the transition starts, and removed when it finishes

These classes can be found in _transitions.scss.

Via data attributes

Just add data-bs-toggle="collapse" and a data-bs-target to the element to automatically assign control of one or more collapsible elements. The data-bs-target attribute accepts a CSS selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you’d like it to default open, add the additional class show.

To add accordion-like group management to a collapsible area, add the data attribute data-bs-parent="#selector". Refer to the demo to see this in action.

Via JavaScript

Enable manually with:

var collapseElementList = [].slice.call(document.querySelectorAll('.collapse'))
var collapseList = collapseElementList.map(function (collapseEl) {
  return new bootstrap.Collapse(collapseEl)
})

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-parent="".

Name Type Default Description
parent selector | jQuery object | DOM element false If parent is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this is dependent on the card class). The attribute has to be set on the target collapsible area.
toggle boolean true Toggles the collapsible element on invocation

Methods

Asynchronous methods and transitions

All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

See our JavaScript documentation for more information.

Activates your content as a collapsible element. Accepts an optional options object.

You can create a collapse instance with the constructor, for example:

var myCollapse = document.getElementById('myCollapse')
var bsCollapse = new bootstrap.Collapse(myCollapse, {
  toggle: false
})
Method Description
toggle Toggles a collapsible element to shown or hidden. Returns to the caller before the collapsible element has actually been shown or hidden (i.e. before the shown.bs.collapse or hidden.bs.collapse event occurs).
show Shows a collapsible element. Returns to the caller before the collapsible element has actually been shown (e.g., before the shown.bs.collapse event occurs).
hide Hides a collapsible element. Returns to the caller before the collapsible element has actually been hidden (e.g., before the hidden.bs.collapse event occurs).
dispose Destroys an element's collapse. (Removes stored data on the DOM element)
getInstance Static method which allows you to get the collapse instance associated with a DOM element.

Events

Bootstrap’s collapse class exposes a few events for hooking into collapse functionality.

Event type Description
show.bs.collapse This event fires immediately when the show instance method is called.
shown.bs.collapse This event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).
hide.bs.collapse This event is fired immediately when the hide method has been called.
hidden.bs.collapse This event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).
var myCollapsible = document.getElementById('myCollapsible')
myCollapsible.addEventListener('hidden.bs.collapse', function () {
  // do something...
})
返回頂部
亚洲一区二区三区在线播放,伊人久久精品无码av一区,亚洲国产精品一区二区第一页免,无码aⅴ精品一区二区三区浪潮
<span id="fu32q"></span>
    1. <li id="fu32q"><meter id="fu32q"><th id="fu32q"></th></meter></li>
      99久久精品国产导航| 粉嫩嫩av羞羞动漫久久久| 蜜臀a∨国产成人精品| 免费成人你懂的| 国产成人免费在线观看| 视频在线观看国产精品| 韩国一区二区视频| 91美女视频网站| 国产美女在线精品| 91网站在线观看视频| 国产精品一区二区黑丝| 日本中文字幕一区二区视频 | 日韩精品电影在线| 国产精品综合av一区二区国产馆| 99久久国产综合精品女不卡| 国产一区二区三区香蕉| 首页国产欧美久久| 成人精品免费看| 国产一区二区久久| 久久精品免费观看| 91碰在线视频| 成人精品国产免费网站| 国产福利91精品| 精品影视av免费| 日本系列欧美系列| 成人aa视频在线观看| 国产不卡免费视频| 国产精品亚洲午夜一区二区三区 | 国产一区二区三区久久悠悠色av| 91免费观看在线| 波多野结衣中文一区| 国产福利电影一区二区三区| 国内欧美视频一区二区| 久热成人在线视频| 麻豆久久久久久久| 久久精品99久久久| 蜜臀av性久久久久蜜臀av麻豆| 天堂资源在线中文精品| 丁香激情综合五月| 成人视屏免费看| 成人国产精品免费观看| 成人激情免费电影网址| 成人午夜看片网址| www.亚洲精品| 91啪亚洲精品| 日韩av中文在线观看| 日韩国产欧美在线观看| 美女一区二区三区在线观看| 麻豆精品一区二区| 精品一区二区三区久久| 国产福利一区二区| jvid福利写真一区二区三区| av电影天堂一区二区在线| 97国产精品videossex| 日韩av一区二| 黄色日韩网站视频| 国产激情一区二区三区四区| 国产91精品精华液一区二区三区 | 国产丶欧美丶日本不卡视频| 成人综合激情网| 99久久伊人久久99| 蜜桃av一区二区三区| 精彩视频一区二区三区| 国产在线精品一区二区三区不卡| 国产精品正在播放| 成人精品gif动图一区| 视频一区二区中文字幕| 久久国产精品99精品国产| 国产精品自拍毛片| av一区二区三区四区| 97se亚洲国产综合自在线| 秋霞电影一区二区| 国产精品自拍在线| 91麻豆产精品久久久久久 | 奇米综合一区二区三区精品视频| 韩国成人在线视频| av午夜精品一区二区三区| 秋霞影院一区二区| 风间由美性色一区二区三区| 日韩激情一区二区| 国产精品一色哟哟哟| 97精品视频在线观看自产线路二| 国内一区二区在线| 91麻豆国产自产在线观看| 国产一区二区久久| 日本伊人精品一区二区三区观看方式| 国产乱妇无码大片在线观看| 97se亚洲国产综合自在线观| 国产乱人伦偷精品视频不卡 | 成人a区在线观看| 人人爽香蕉精品| 岛国一区二区在线观看| 久久97超碰色| 日日摸夜夜添夜夜添精品视频| 国产乱码精品一品二品| 日韩国产欧美在线观看| 成人va在线观看| 国产揄拍国内精品对白| 蜜乳av一区二区| 97se亚洲国产综合自在线不卡| 国产麻豆欧美日韩一区| 久久精品国产网站| 日本三级亚洲精品| www.欧美.com| 成人黄色a**站在线观看| 国精产品一区一区三区mba视频| 91麻豆精品秘密| www.99精品| 成人爽a毛片一区二区免费| 国产一区二区在线观看免费 | 成人午夜看片网址| 国产伦精品一区二区三区免费迷| 久热成人在线视频| 蜜臀av性久久久久av蜜臀妖精| 91美女在线视频| 天堂在线一区二区| 91丨porny丨在线| 91麻豆国产福利精品| 99热在这里有精品免费| 成人午夜在线免费| 成人av在线电影| 成人福利视频在线看| 国产精品夜夜嗨| 国产一区不卡在线| 国产风韵犹存在线视精品| 国产精品一级在线| 国产白丝精品91爽爽久久| 国产精品资源网| 国产成人综合在线播放| 国产激情一区二区三区四区| 国产成人午夜高潮毛片| 风间由美性色一区二区三区| 成人免费视频caoporn| jlzzjlzz亚洲日本少妇| 91在线高清观看| 奇米四色…亚洲| 国产一区二区在线免费观看| 国产福利91精品| 99久久免费视频.com| 91亚洲资源网| 蜜臀av在线播放一区二区三区| 精品系列免费在线观看| 国产乱人伦偷精品视频免下载| 床上的激情91.| 91蝌蚪porny九色| 蜜臀av一级做a爰片久久| 国产综合成人久久大片91| 国产一区二区三区免费看| 成人中文字幕合集| 日韩高清中文字幕一区| 国产资源精品在线观看| caoporen国产精品视频| 日产欧产美韩系列久久99| 精品无码三级在线观看视频| 成人看片黄a免费看在线| 91麻豆精品视频| 老司机精品视频在线| 久久99精品久久只有精品| 国产高清精品网站| 视频一区在线播放| 国产精品一级片在线观看| 92国产精品观看| 韩国av一区二区| 成人高清在线视频| 精品写真视频在线观看| av不卡免费电影| 久久精品久久99精品久久| 国产成人在线免费| 日本va欧美va欧美va精品| 国产精品18久久久久| 人人爽香蕉精品| 国产91精品入口| 国产成人综合精品三级| 石原莉奈在线亚洲三区| 91最新地址在线播放| 日本美女视频一区二区| 国产综合久久久久久鬼色 | 成人免费看的视频| 91影院在线免费观看| 精品影院一区二区久久久| 成人性生交大片| 日精品一区二区三区| 国产成人午夜精品5599| 成人av在线资源网| 国产一区二区女| 青娱乐精品在线视频| 成人丝袜高跟foot| 韩国v欧美v日本v亚洲v| 91小视频在线| 丁香婷婷综合激情五月色| 久久电影国产免费久久电影| 99re热这里只有精品视频| 国产成人在线影院| 美腿丝袜亚洲色图| 99久久久久久| 成人黄色在线视频| 国产精品一区二区黑丝| 久久狠狠亚洲综合| 日本强好片久久久久久aaa| 成人av资源网站| 国产成人av自拍| 国产精品一区一区| 黄色小说综合网站| 精品亚洲国产成人av制服丝袜 | 不卡的av在线播放| 国产成人在线观看| 国产乱码精品一区二区三区忘忧草| 日韩电影免费在线看| 99精品欧美一区| 国产一二精品视频| 韩国精品一区二区| 国产在线精品一区在线观看麻豆| 久久99精品久久久久| 免费人成精品欧美精品| 蜜臀国产一区二区三区在线播放 | 国产真实精品久久二三区| 久久97超碰国产精品超碰| 美女脱光内衣内裤视频久久影院| 麻豆精品精品国产自在97香蕉| 免费在线观看一区二区三区| 蜜桃一区二区三区在线| 免费久久精品视频| 精品一区精品二区高清| 久久99精品久久只有精品| 精品一区二区国语对白| 国产激情一区二区三区四区 | 久久精品国产亚洲高清剧情介绍| 开心九九激情九九欧美日韩精美视频电影 | 国产精品综合久久| 国产精品自产自拍| 成人网男人的天堂| 日韩电影在线观看一区| 另类小说一区二区三区| 国产一区二区伦理| 成人手机在线视频| 日韩高清在线一区| 国产在线乱码一区二区三区| 成人久久久精品乱码一区二区三区 | 成人美女在线观看| 国产91在线|亚洲| 成人小视频免费观看| 91麻豆成人久久精品二区三区| 男女男精品视频| 国产在线播放一区二区三区| 国产一区二区成人久久免费影院| 成人免费不卡视频| 免费在线一区观看| 国产精品1区2区3区| 成人毛片视频在线观看| 青草国产精品久久久久久| 激情伊人五月天久久综合| 国产精品自产自拍| 日本欧美一区二区三区| 国产一区二三区好的| 91丨porny丨蝌蚪视频| 国产又粗又猛又爽又黄91精品| 成人av中文字幕| 久久 天天综合| 97久久精品人人做人人爽| 国产在线国偷精品免费看| 成年人国产精品| 精品一区二区三区蜜桃| 99国产精品国产精品毛片| 91美女在线视频| 国产不卡在线视频| 久久精品国产成人一区二区三区| caoporen国产精品视频| 久久er精品视频| 国产一区二区调教| 视频一区视频二区在线观看| 国产一区二区三区精品视频| 国v精品久久久网| 蜜桃久久久久久久| 粉嫩久久99精品久久久久久夜| 美女精品自拍一二三四| 国产成人激情av| 国产在线视频一区二区三区| 美女网站视频久久| 日韩av一区二区在线影视| 99久久精品情趣| 成人av网站在线观看免费| 国产传媒日韩欧美成人| 国产在线麻豆精品观看| 激情五月激情综合网| 理论电影国产精品| 日本最新不卡在线| 91视频一区二区三区| www.激情成人| 成人精品免费视频| 成人综合在线观看| 国产91色综合久久免费分享| 国产成人综合在线观看| 国产经典欧美精品| 丁香婷婷深情五月亚洲| 成人性色生活片免费看爆迷你毛片| 国产成人av一区二区三区在线| 国产精选一区二区三区| 国产麻豆成人传媒免费观看| 国产一区在线精品| 国产一区二区三区精品视频| 国产一区二区毛片| 国产精品一区二区你懂的| 国产传媒一区在线| 成人va在线观看| 天堂成人免费av电影一区| 日韩激情视频在线观看| 免费av成人在线| 国产在线一区观看| 国产不卡视频在线播放| 成人免费看的视频| 91看片淫黄大片一级在线观看| 视频一区视频二区中文字幕| 免费观看一级特黄欧美大片| 久久99精品久久只有精品| 国产一区二区电影| 北岛玲一区二区三区四区| 丝袜亚洲另类欧美综合| 美女一区二区三区| 国产精品123| 91丨九色porny丨蝌蚪| 蜜桃久久精品一区二区| 国产乱码精品一区二区三| 成人av在线播放网址| 蜜臀va亚洲va欧美va天堂| 精品夜夜嗨av一区二区三区| 国产成人免费网站| 成人av电影在线| 日本不卡一区二区| 国产一区二区三区久久悠悠色av| 成人一区二区三区中文字幕| 91影院在线观看| 久久99精品国产.久久久久久| 国产成人午夜高潮毛片| 91麻豆国产香蕉久久精品| 美女网站色91| 成人一区二区三区| 免费av网站大全久久| 国产不卡高清在线观看视频| 日韩中文字幕区一区有砖一区| 久久99国产精品麻豆| 粉嫩aⅴ一区二区三区四区 | 国产激情精品久久久第一区二区| 成人福利视频在线看| 美女网站一区二区| youjizz久久| 国产精品一区免费在线观看| 日本在线观看不卡视频| 夫妻av一区二区| 久久精品国产精品亚洲红杏| 99久久精品国产导航| 久久国产日韩欧美精品| 97国产一区二区| 国产成人免费在线观看不卡| 久久国产夜色精品鲁鲁99| 99精品久久99久久久久| 国产999精品久久久久久绿帽| 久久精品国产**网站演员| 精品一区二区三区免费播放| 国产 日韩 欧美大片| 精品亚洲国产成人av制服丝袜| 不卡一区在线观看| 国产福利不卡视频| 黄色日韩网站视频| 日韩va欧美va亚洲va久久| 不卡高清视频专区| 国产精品99久久久久久有的能看| 美女视频黄免费的久久| 日欧美一区二区| gogo大胆日本视频一区| 成人精品视频一区二区三区尤物| 国产一区在线看| 国产自产视频一区二区三区| 久久国产精品免费| 另类调教123区| 久久精品国产网站| 蜜桃av一区二区三区| 日韩精品亚洲专区| 91女厕偷拍女厕偷拍高清| 成人h精品动漫一区二区三区| 懂色av一区二区三区蜜臀| 国产精品一二三四| 国产精品一区免费在线观看| 国产一区二区毛片| 国产一区二区在线看| 国产精品一区免费视频| 国产精品996| 成人精品免费看| 91视频免费看| 日日夜夜精品视频免费| 日韩av一二三| 美女久久久精品| 国产一区二区成人久久免费影院| 国产精品自拍av| 波多野结衣亚洲一区| 三级影片在线观看欧美日韩一区二区 | 99久久精品国产麻豆演员表| 95精品视频在线| 日本视频一区二区| 精品亚洲成a人| 高清在线成人网|