Bootstrap tooltip and bootstrap popover example.
How to create a tooltip using bootstrap class!
To create a tooltip, add the data-toggle="tooltip" attribute to an element.
Note: Tooltips must be initialized with jQuery: select the specified element and call the tooltip() method.
$(function () { $('[data-toggle="popover"]').popover() })
Use the title attribute to specify the text that would be displayed inside the tooltip, Examples
Now let’s look at the bootstrap classes for alert box implementation
<div class="alert alert-success alert-dismissible"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Success!</strong> This alert box could indicate a successful or positive action. </div>
<div class="alert alert-info alert-dismissible"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Info!</strong> This alert box could indicate a neutral informative change or action. </div>
<div class="alert alert-warning alert-dismissible"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Warning!</strong> This alert box could indicate a warning that might need attention. </div>
<div class="alert alert-danger alert-dismissible"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Danger!</strong> This alert box could indicate a dangerous or potentially negative action. </div>
Above alert box can be very useful for showing alert on different situation