Bootstrap ดรอปดาวน์ส่วนประกอบ


ดรอปดาวน์

สำหรับบทแนะนำเกี่ยวกับ Dropdowns โปรดอ่านBootstrap Dropdowns Tutorialของเรา

Class Description Example
.dropdown Indicates a dropdown menu
.dropdown-menu Builds the dropdown menu
.dropdown-menu-right Right-aligns a dropdown menu
.dropdown-header Adds a header inside the dropdown menu
.dropup Indicates a dropup menu
.disabled Disables an item in the dropdown menu
.divider Separates items inside the dropdown menu with a horizontal line

พับ

สำหรับบทแนะนำเกี่ยวกับการพับเก็บ โปรดอ่าน บทแนะนำ การยุบ Bootstrap

Class Description Example
.collapse Indicates collapsible content - which can be hidden or shown on demand
.collapse .in Show the collapsible content by default
.panel-collapse Collapsible panel (toggle between hiding and showing panel(s))
Collapsible list group
Accordion