"Basic Tooltip Example"
Bootstrap 3.0.0 Snippet by mwood073

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <h1 class="page-header">Tooltip</h1> <h4>Tooltip</h4> <div class="tooltip-div"> <button title="" data-placement="right" data-toggle="tooltip" class="btn btn-default" type="button" data-original-title="Tooltip on right" >On hover</button> </div> <h4>Tooltip Position</h4> <div class="tooltip-div"> <button title="" data-placement="left" data-toggle="tooltip" class="btn btn-default" type="button" data-original-title="Tooltip on left">Tooltip on left</button> <button title="" data-placement="top" data-toggle="tooltip" class="btn btn-default" type="button" data-original-title="Tooltip on top">Tooltip on top</button> <button title="" data-placement="bottom" data-toggle="tooltip" class="btn btn-default" type="button" data-original-title="Tooltip on bottom">Tooltip on bottom</button> <button title="" data-placement="right" data-toggle="tooltip" class="btn btn-default" type="button" data-original-title="Tooltip on right" >Tooltip on right</button> </div> <h4></h4> </div> <script> // tooltip demo $('.tooltip-div').tooltip({ selector: "[data-toggle=tooltip]", container: "body" }); </script> <style> h4{ margin-top:50px; } h4 span{ font-size:13px; color:grey; } </style>

Related: See More


Questions / Comments: