BMI is a measure of body fat based on height and weight that applies to adult men and women.
Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.
Launch demo modal
We set a fixed max-height on the .modal-body. Watch it overflow with all this extra lorem ipsum text we’ve included.
max-height
.modal-body
Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.
Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.
Modals have two optional sizes, available via modifier classes to be placed on a .modal-dialog.
.modal-dialog
Large modal
Small modal
Default Primary Success Info Warning Danger
Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the class="table" class is required.
class="table"
Get a little fancy with your tables by adding zebra-striping—just add the class="table table-striped" class. Note: Striped tables use the :nth-child CSS selector and is not available in IE7-IE8.
class="table table-striped"
:nth-child
Add borders around the entire table and rounded corners for aesthetic purposes class="table table-bordered".
class="table table-bordered"
Make your tables more compact by adding the class="table table-condensed" class to cut table cell padding in half.
class="table table-condensed"
Create responsive tables by wrapping any .table in .table-responsive to make them scroll horizontally up to small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.
.table
.table-responsive
Feel free to combine any of the table classes to achieve different looks by utilizing any of the available classes .