Back to Top


AlertStyles

HTML

class="alert alert-success"role="alert">

Well done!This is a success or positive alert.

class="alert alert-info"role="alert">

Heads up!This is a information or notification alert.

class="alert alert-warning"role="alert">

Warning!This is a warning or attention alert.

class="alert alert-danger"role="alert">

Oh snap!This is a danger or emergency alert.


TableStyles

For basic styling-light padding and only horizontal dividers-add the base class .table . It may seem super redundant, but given the widespread use of table for other plugins like calendars and data pickers, we've opted to isolate our custom table styles.

# First Name Last Name NetID
1 Princess Bubblegum peebles1
2 Marceline Abadeer marcy
3 Peppermint Butler pbutler

HTML

class="table">

Use .table-striped to add zebra-striping to any table row within the

# First Name Last Name NetID
1 Princess Bubblegum peebles1
2 Marceline Abadeer marcy
3 Peppermint Butler pbutler

HTML

class="table table-striped">

Add .table-condensed to make tables more compact by cutting cell padding in half

# First Name Last Name NetID
1 Princess Bubblegum peebles1
2 Marceline Abadeer marcy
3 Peppermint Butler pbutler

HTML

class="table table-condensed">

Create responsive tables by wrapping any .table-responsive to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.

# First Name Last Name NetID
1 Princess Bubblegum peebles1
2 Marceline Abadeer marcy
3 Peppermint Butler pbutler

HTML

class="table-responsive" >

class="table">

Baidu
map