tooltip.html 2.41 KB
Newer Older
1
2
<!DOCTYPE html>
<html>
Bardi Harborow's avatar
Bardi Harborow committed
3
4
5
6
7
8
9
10
11
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
    <title>Tooltip</title>
  </head>
  <body>
    <div class="container">
      <h1>Tooltip <small>Bootstrap Visual Test</small></h1>
12

Bardi Harborow's avatar
Bardi Harborow committed
13
      <p class="text-muted">Tight pants next level keffiyeh <a href="#" data-toggle="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" data-toggle="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" data-toggle="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" data-toggle="tooltip" title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.</p>
14

Bardi Harborow's avatar
Bardi Harborow committed
15
      <hr>
16

Bardi Harborow's avatar
Bardi Harborow committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
      <p>
        <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
          Tooltip on top
        </button>
        <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="right" title="Tooltip on right">
          Tooltip on right
        </button>
        <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">
          Tooltip on bottom
        </button>
        <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="left" title="Tooltip on left">
          Tooltip on left
        </button>
        <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-html="true" title="<em>Tooltip</em> <u>with</u> <b>HTML</b>">
          Tooltip with HTML
        </button>
      </p>
    </div>
35

36
37
    <script src="../../../docs/assets/js/vendor/jquery-slim.min.js"></script>
    <script src="../../../docs/assets/js/vendor/tether.min.js"></script>
Bardi Harborow's avatar
Bardi Harborow committed
38
39
    <script src="../../dist/util.js"></script>
    <script src="../../dist/tooltip.js"></script>
40

Bardi Harborow's avatar
Bardi Harborow committed
41
42
43
44
45
46
    <script>
      $(function () {
        $('[data-toggle="tooltip"]').tooltip()
      })
    </script>
  </body>
47
</html>