Skip to content

Bootstrap tips

Nathan Watson edited this page Mar 28, 2018 · 3 revisions

Making a responsive table within a div

Add the Bootstrap class table-responsive to the <div> element. In the <table> element, you'll want to add at least the table Bootstrap class.

Closing alerts

You don't have to write your on JavaScript to close boxes when using Bootstrap. See a good example at W3Schools for closing an alert: https://www.w3schools.com/bootstrap/bootstrap_alerts.asp

Clone this wiki locally