[card]
[card-header class="lead"]3 same size columns on medium and larger screens[/card-header]
[card-body class="p4"]
[row]
[column md="4" class="bg-info"]
Column 1 (33%)
[lorem-ipsum]
[/column]
[column md="4" class="bg-success"]
Column 2 (33%)
[lorem-ipsum/]
[/column]
[column md="4" class="bg-danger"]
Column 3 (33%)
[lorem-ipsum/]
[/column]
[/row]
[/card-body]
[card-footer]Narrow your browser window to see the columns stack. [/card-footer]
[/card]
[card]
[card-header class="lead"]3 columns[/card-header]
[card-body class="p4"]
[row]
[column xs="3" class="bg-info"]
Column 1 (25%)[lorem-ipsum/]
[/column]
[column xs="6" class="bg-success"]
Column 2 (50%)[lorem-ipsum sentences="2"/]
[/column]
[column xs="3" class="bg-danger"]
Column 3 (25%)[lorem-ipsum/]
[/column]
[/row]
[/card-body]
[card-footer]These columns will not stack when you narrow your browser window. [/card-footer]
[/card]
[card]
[card-header class="lead"]2 columns with an offset in between[/card-header]
[card-body class="p4"]
[row]
[column xs="3" class="bg-info"]
Column 1 (25%)[lorem-ipsum/]
[/column]
[column xs="6" offset-xs="3" class="bg-danger"]
Column 2 (50%)[lorem-ipsum/]
[/column]
[/row]
[/card-body]
[card-footer]These columns will not stack when you narrow your browser window. [/card-footer]
[/card]
[card]
[card-header class="lead"]Nested Rows and Columns[/card-header]
[card-body class="p4"]
[row-outer]
[column-outer xs="3" class="bg-info text-center"]
Col 1
[row]
[column xs="6"]Col 1.1[/column]
[column xs="6"]Col 1.2[/column]
[/row]
[/column-outer]
[column-outer xs="6" class="bg-success text-center"]
Col 2
[row]
[column xs="6"]Col 2.1[/column]
[column xs="6"]Col 2.2[/column]
[/row]
[/column-outer]
[column-outer xs="3" class="bg-danger text-center"]
Col 3
[row]
[column xs="6"]Col 3.1[/column]
[column xs="6"]Col 3.2[/column]
[/row]
[/column-outer]
[/row-outer]
[/card-body]
[card-footer]These columns will not stack when you narrow your browser window. [/card-footer]
[/card]
Responsive Embed
[card]
[card-header class="lead"]Embedded Video[/card-header]
[card-body class="p4"]
[embed-responsive ratio="16by9"]
[/embed-responsive]
[/card-body]
[card-footer]Narrow your browser window to see the video size adjust. [/card-footer]
[/card]
Responsive Utilities
[card]
[card-header class="lead"]Show text depending on screen size[/card-header]
[card-body class="p4"]
[card-title]Sample 1: This text disappears on small and extra small screens.[/card-title]
[responsive block="md" hidden="xs"]
[lorem-ipsum class="bg-success"/]
[/responsive]
[card-title]Sample 2: This text will not be shown on large and extra large screens.[/card-title]
[responsive block="xs" hidden="lg"]
[lorem-ipsum class="bg-info"/]
[/responsive]
[/card-body]
[card-footer]Narrow and widen your browser window to see the effect. [/card-footer]
[/card]
Cards
[card-outer]
[card-header class="lead"]Simple card with a body element[/card-header]
[card-body-outer class="p4"]
[card]
[card-body]
[list-group flush]
[list-group-item]Cras justo odio[/list-group-item]
[list-group-item]Dapibus ac facilisis in[/list-group-item]
[list-group-item]Vestibulum at eros[/list-group-item]
[/list-group]
[/card-body]
[/card]
[/card-body-outer]
[card-footer]List group is flush with the card[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Kitchen Sink[/card-header]
[card-body-outer class="p4"]
[card class="w-50"]
[card-img top]
[img responsive][img-gen size="200" text="Card Image Top"][/img]
[/card-img]
[card-body]
[card-title]Card Title[/card-title]
Some quick example text to build on the card title and make up the bulk of the card's content.
[/card-body]
[list-group flush]
[list-group-item]Cras justo odio[/list-group-item]
[list-group-item]Dapibus ac facilisis in[/list-group-item]
[list-group-item]Vestibulum at eros[/list-group-item]
[/list-group]
[card-body]
Lorem Ipsup Dolor Sit
[/card-body]
[/card]
[/card-body-outer]
[card-footer]List group is flush with the card. Links in footer are next to each other.[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Simple card with image cap[/card-header]
[card-body-outer class="p4"]
[card class="w-25"]
[card-img top]
[img responsive][img-gen bg="f00" text="Sample Image"][/img]
[/card-img]
[card-body]
[card-title]Card Title[/card-title]
Lorem ipsum dolor sit.
[/card-body]
[/card]
[/card-body-outer]
[card-footer]Image caps are supported with the [[card-img]] shortcode and the top or bottom flag.[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Simple card with image overlay[/card-header]
[card-body-outer class="p4"]
[card class="w-25"]
[card-img]
[img responsive][img-gen bg="f00" text=" "][/img]
[/card-img]
[card-img-overlay]
[card-title]Card Title[/card-title]
Lorem ipsum dolor sit.
[/card-img-overlay]
[/card]
[/card-body-outer]
[card-footer]Image overlay cards are supported with the [[card-img-overlay]] shortcode.[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Card with header and footer[/card-header]
[card-body-outer class="p4"]
[card class="w-25"]
[card-header]Example Header[/card-header]
[card-body]
[card-title]Card Title[/card-title]
Lorem ipsum dolor sit.
[/card-body]
[card-footer]Example footer.[/card-footer]
[/card]
[/card-body-outer]
[card-footer]Card header and card footers are supported with the [[card-header]] and [[card-footer]] shortcodes.[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Card group[/card-header]
[card-body-outer class="p4"]
[card-group]
[card class="bg-info"]
[card-body]
[card-title]Card Title[/card-title]
Lorem ipsum dolor sit.
[/card-body]
[/card]
[card class="bg-success"]
[card-body]
[card-title]Card Title[/card-title]
Cras justo odio.
[/card-body]
[/card]
[card class="bg-danger"]
[card-body]
[card-title]Card Title[/card-title]
Dapibus ac facilisis in.
[/card-body]
[/card]
[/card-group]
[/card-body-outer]
[card-footer]Use card groups to render cards as a single, attached element with equal width and height columns.[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Card deck[/card-header]
[card-body-outer class="p4"]
[card-deck]
[card class="bg-info"]
[card-body]
[card-title]Card Title[/card-title]
Lorem ipsum dolor sit.
[/card-body]
[/card]
[card class="bg-success"]
[card-body]
[card-title]Card Title[/card-title]
Cras justo odio.
[/card-body]
[/card]
[card class="bg-danger"]
[card-body]
[card-title]Card Title[/card-title]
Dapibus ac facilisis in.
[/card-body]
[/card]
[/card-deck]
[/card-body-outer]
[card-footer]Use a card deck for a set of equal width and height cards that aren’t attached to one another.[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Card columns[/card-header]
[card-body-outer class="p4"]
[card-columns]
[card class="bg-info"]
[card-body]
[card-title]Card Title[/card-title]
Lorem ipsum dolor sit.
[/card-body]
[/card]
[card]
[card-body class="bg-success"]
[card-title]Card Title[/card-title]
Cras justo odio.
[/card-body]
[/card]
[card class="bg-danger"]
[card-body]
[card-title]Card Title[/card-title]
Dapibus ac facilisis in.
[/card-body]
[/card]
[card class="bg-info"]
[card-body]
[card-title]Card Title[/card-title]
Euismod cubilia mattis sed habitasse.
[/card-body]
[/card]
[card]
[card-body class="bg-success"]
[card-title]Card Title[/card-title]
Arcu porta aptent lacus.
[/card-body]
[/card]
[card class="bg-danger"]
[card-body]
[card-title]Card Title[/card-title]
Quisque est eget.
[/card-body]
[/card]
[card class="bg-info"]
[card-body]
[card-title]Card Title[/card-title]
Imperdiet dapibus ridiculus.
[/card-body]
[/card]
[card]
[card-body class="bg-success"]
[card-title]Card Title[/card-title]
Eros mi mauris ultricies.
[/card-body]
[/card]
[card class="bg-danger"]
[card-body]
[card-title]Card Title[/card-title]
Nascetur commodo imperdiet.
[/card-body]
[/card]
[/card-columns]
[/card-body-outer]
[card-footer]Cards can be organized into Masonry-like columns with just CSS by wrapping them in [[card-columns]].[/card-footer]
[/card-outer]
[card-outer]
[card-header class="lead"]Cards with shadows[/card-header]
[card-body-outer class="p4"]
[card-deck]
[card class="w-25 shadow-none"]
[card-body]
[card-title]No Shadow[/card-title]
[lorem-ipsum]
[/card-body]
[/card]
[card class="w-25 shadow-sm"]
[card-body]
[card-title]Small Shadow[/card-title]
[lorem-ipsum]
[/card-body]
[/card]
[card class="w-25 shadow"]
[card-body]
[card-title]Regular Shadow[/card-title]
[lorem-ipsum]
[/card-body]
[/card]
[card class="w-25 shadow-lg"]
[card-title]Large Shadow[/card-title]
[card-body]
[card-title]Large Shadow[/card-title]
[lorem-ipsum]
[/card-body]
[/card]
[/card-deck]
[/card-body-outer]
[card-footer]Use the shadow utilities to add a shadow to the cards.[/card-footer]
[/card-outer]
[card]
[card-header class="lead"]Basic example[/card-header]
[card-body class="p4"]
[button-group size="lg" justified]
[button] Left [/button]
[button] Middle [/button]
[button] Right [/button]
[/button-group]
[/card-body]
[card-footer]The large button group is justified and vertical. [/card-footer]
[/card]
[card]
[card-header class="lead"]Button Toolbar[/card-header]
[card-body class="p4"]
[button-toolbar]
[button-group class="mr-2"]
[button] Left 1 [/button]
[button] Middle 1 [/button]
[button] Right 1 [/button]
[/button-group]
[button-group class="mr-2"]
[button] Left 2 [/button]
[button] Middle 2 [/button]
[button] Right 2 [/button]
[/button-group]
[button-group]
[button] Single [/button]
[/button-group]
[/button-toolbar]
[/card-body]
[card-footer]Combine sets of button groups into button toolbars for more complex components. Use utility classes as needed to space out groups, buttons, and more.[/card-footer]
[/card]
Dropdowns
[card]
[card-header class="lead"]Single Button Dropdown[/card-header]
[card-body class="p4"]
[dropdown]
[button type="warning" dropdown] Action[/button]
[dropdown-menu]
[dropdown-header] Header[/dropdown-header]
[dropdown-item link="#"]Action[/dropdown-item]
[dropdown-item link="#"]Another action[/dropdown-item]
[dropdown-item link="#"]Something else here[/dropdown-item]
[dropdown-divider]
[dropdown-item link="#"]Separated link[/dropdown-item]
[/dropdown-menu]
[/dropdown]
[/card-body]
[card-footer]Any single [button] or link can be turned into a dropdown toggle with some markup changes.[/card-footer]
[/card]
[card]
[card-header class="lead"]Split Button Dropdown[/card-header]
[card-body class="p4"]
[button-group]
[button type="danger"] Split Action[/button]
[button type="danger" dropdown split][/button]
[dropdown-menu]
[dropdown-item link="#"]Action[/dropdown-item]
[dropdown-item link="#"]Another action[/dropdown-item]
[dropdown-item link="#"]Something else here[/dropdown-item]
[dropdown-divider]
[dropdown-item link="#"]Separated link[/dropdown-item]
[/dropdown-menu]
[/button-group]
[/card-body]
[card-footer]Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of split for proper spacing around the dropdown caret.[/card-footer]
[/card]
[card]
[card-header class="lead"]Drop Variations[/card-header]
[card-body class="p4"]
[button-group drop="up"]
[button] Drop Up [/button]
[button dropdown][/button]
[dropdown-menu]
[dropdown-item link="#"] Action 1 [/dropdown-item]
[dropdown-item link="#"] Action 2 [/dropdown-item]
[dropdown-divider]
[dropdown-item link="#"] Separated Action [/dropdown-item]
[/dropdown-menu]
[/button-group]
[button-group drop="left"]
[button] Drop left [/button]
[button dropdown][/button]
[dropdown-menu]
[dropdown-item link="#"] Action 1 [/dropdown-item]
[dropdown-item link="#"] Action 2 [/dropdown-item]
[dropdown-divider]
[dropdown-item link="#"] Separated Action [/dropdown-item]
[/dropdown-menu]
[/button-group]
[button-group drop="right"]
[button] Drop right [/button]
[button dropdown][/button]
[dropdown-menu]
[dropdown-item link="#"] Action 1 [/dropdown-item]
[dropdown-item link="#"] Action 2 [/dropdown-item]
[dropdown-divider]
[dropdown-item link="#"] Separated Action [/dropdown-item]
[/dropdown-menu]
[/button-group]
[/card-body]
[card-footer]Use drop="up|left|right" to show the dropdown over, left or right to the button or link.[/card-footer]
[/card]
Navs
[card]
[card-header class="lead"]Simple Navigation Links[/card-header]
[card-body class="p4"]
[nav tabs]
[nav-item link="#"] Link1 [/nav-item]
[nav-item link="#"] Link2 [/nav-item]
[nav-item link="#"] Link3 [/nav-item]
[/nav]
[/card-body]
[card-footer][/card-footer]
[/card]
[card]
[card-header class="lead"]Navigation Link and Dropdown with Pills[/card-header]
[card-body class="p4"]
[nav pills]
[nav-item link="#" active] Active [/nav-item]
[nav-item dropdown link="#"] Drop
[dropdown-menu]
[dropdown-item link="#"] Link1 [/dropdown-item]
[dropdown-item link="#"] Link2 [/dropdown-item]
[/dropdown-menu]
[/nav-item]
[nav-item link="#" disabled] Disabled [/nav-item]
[/nav]
[/card-body]
[card-footer]Note: The [dropdown-menu] has to be inside the [nav-item]. [/card-footer]
[/card]
[card]
[card-header class="lead"]Navigation Link and Dropdown with Tabs[/card-header]
[card-body class="p4"]
[nav tabs]
[nav-item link="#" active] Active [/nav-item]
[nav-item dropdown link="#"] Drop [dropdown-menu]
[dropdown-item link="#"] Link1 [/dropdown-item]
[dropdown-item link="#"] Link2 [/dropdown-item]
[/dropdown-menu]
[/nav-item]
[nav-item link="#" disabled] Disabled [/nav-item]
[/nav]
[/card-body]
[card-footer]Note: The [dropdown-menu] has to be inside the [nav-item]. [/card-footer]
[/card]
Breadcrumb
[card]
[card-header class="lead"]Breadcrumb style links[/card-header]
[card-body class="p4"]
[breadcrumb]
[breadcrumb-item link="#"] Pictures [/breadcrumb-item]
[breadcrumb-item link="#"] Vacation [/breadcrumb-item]
[breadcrumb-item link="#" active] 2020 [/breadcrumb-item]
[/breadcrumb]
[/card-body]
[card-footer]Use active for the currently active breadcrumb.[/card-footer]
[/card]
Badge
[card class="w-50"]
[card-header class="lead"]Badge styles[/card-header]
[card-body class="p4"]
New Messages[badge] 9 [/badge]
New Messages[badge class="bg-primary"] 9 [/badge]
New Messages[badge right] 9 [/badge]
[/card-body]
[card-footer]Use utility class to format the badge and right to float the badge to align to the right of its container.[/card-footer]
[/card]
[lorem-ipsum sentences="3"]
[/media-body]
[/media]
[/list-group]
[/card-body]
[card-footer]Use the [code inline]media[/code] flag at the [code inline][list-group][/code] tag and the [code inline]list-group[/code] flag at the [code inline][media][/code] tag.[/card-footer]
[/card]
Use the [code inline]media[/code] flag at the [code inline]list-group[/code] tag and the [code inline]listgroup[/code] flag at the [code inline]media[/code] tag.
[card]
[card-header class="lead"]Tooltip Examples[/card-header]
[card-body class="p4"]
[tooltip title="I'm the title" placement="auto" animation][button outline class="mr-3"] Auto [/button][/tooltip]
[tooltip title="I'm the title" placement="left"][button outline class="mr-3"] Left [/button][/tooltip]
[tooltip title="I'm the title" placement="top"][button outline class="mr-3"] Top [/button][/tooltip]
[tooltip title="I'm the title" placement="bottom"][button outline class="mr-3"] Bottom [/button][/tooltip]
[tooltip title="I'm the title" placement="right"][button outline class="mr-3"] Right [/button][/tooltip]
[tooltip title="I'm the title with HTML" placement="top" html][button outline] HTML [/button][/tooltip]
[/card-body]
[card-footer] Tooltips work best with [code inline][button][/code]s or links but can be attached to any element. [/card-footer]
[/card]
Popover
[card]
[card-header class="lead"]popover Examples[/card-header]
[card-body class="p4"]
[popover title="I'm the title" content="And this is the content" placement="auto" animation][button outline class="mr-3"] Auto [/button][/popover]
[popover title="I'm the title" content="And this is the content" placement="left"][button outline class="mr-3"] Left [/button][/popover]
[popover title="I'm the title" content="And this is the content" placement="top"][button outline class="mr-3"] Top [/button][/popover]
[popover title="I'm the title" content="And this is the content" placement="bottom"][button outline class="mr-3"] Bottom [/button][/popover]
[popover title="I'm the title" content="And this is the content" placement="right"][button outline class="mr-3"] Right [/button][/popover]
[popover title="I'm the title with HTML" content="And this is the contentwith even moreHTML" placement="top" html][button outline] HTML [/button][/popover]
[/card-body]
[card-footer] Popovers work best with [code inline][button][/code]s or links but can be attached to any element. [/card-footer]
[/card]