Title

Subtitle

Lorem ipsum dolor sit amet consectetur adipisicing elit. Facere mollitia qui aut. Molestias explicabo autem veniam doloribus doloremque numquam odit rem sapiente natus ipsam temporibus voluptates, ab mollitia repellat! Itaque.


Utilities


Form grid


Gutters

More complex layouts can also be created with the grid system.


Horizontal form

Email

Password

Radios
Checkbox

Email

Password

Radios
Checkbox

Horizontal form label sizing

Email

Email

Email

Email

Email

Email


Column sizing


Auto sizing

@
@

You can then remix that once again with size-specific column classes.

@
@

Inline forms

@
@

Title - API


Usage

Via data attributes

Via JavaScript

var myModal = new bootstrap.Modal(document.getElementById('myModal'), options)

Options

Name Type Default Description
tag String 'button' Changes button tag

Methods

Name Description Example
toggle Manually toggles a modal myModal.toggle()

Events

Name Description
show.bs.modal This event fires immediately when the show instance method is called. If caused by a click, the clicked element is available as the relatedTarget property of the event.