index.html 2.54 KB
Newer Older
1
2
3
4
5
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
Julian Thilo's avatar
Julian Thilo committed
6
    <meta name="viewport" content="width=device-width, initial-scale=1">
7
8
    <meta name="description" content="">
    <meta name="author" content="">
Julian Thilo's avatar
Julian Thilo committed
9
    <link rel="icon" href="../../assets/ico/favicon.ico">
10
11
12
13

    <title>Tooltip Viewport Example for Bootstrap</title>

    <!-- Bootstrap core CSS -->
Julian Thilo's avatar
Julian Thilo committed
14
15
16
17
    <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="tooltip-viewport.css" rel="stylesheet">
18
19

    <!-- Just for debugging purposes. Don't actually copy this line! -->
Julian Thilo's avatar
Julian Thilo committed
20
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
21

22
23
24
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>

25
26
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
XhmikosR's avatar
XhmikosR committed
27
      <script src="https://oss.maxcdn.com/html5shiv/3.7.1/html5shiv.min.js"></script>
XhmikosR's avatar
XhmikosR committed
28
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
29
30
31
32
33
    <![endif]-->
  </head>

  <body>

Julian Thilo's avatar
Julian Thilo committed
34
35
36
    <button class="btn pull-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
    <button class="btn tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
    <button class="btn tooltip-right" title="This should be shifted down">Shift Down</button>
37
38
39

    <div class="placeholder">There is a button down there ↓</div>

Julian Thilo's avatar
Julian Thilo committed
40
    <button class="btn tooltip-right" title="This should be shifted up">Shift Up</button>
41
42

    <div class="container-viewport">
Julian Thilo's avatar
Julian Thilo committed
43
44
      <button class="btn tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
      <button class="btn tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
45

Julian Thilo's avatar
Julian Thilo committed
46
      <button class="btn pull-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
47

Julian Thilo's avatar
Julian Thilo committed
48
      <button class="btn tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
49
50
    </div>

Julian Thilo's avatar
Julian Thilo committed
51

52
53
54
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
Julian Thilo's avatar
Julian Thilo committed
55
56
57
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="../../dist/js/bootstrap.min.js"></script>
    <script src="tooltip-viewport.js"></script>
58
59
  </body>
</html>