-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathexample-bootstrap.html
More file actions
37 lines (31 loc) · 900 Bytes
/
example-bootstrap.html
File metadata and controls
37 lines (31 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<title>Vanilla Tooltip</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
</head>
<body>
<section class="container">
<h1>Vanilla tooltip</h1>
<h2>With bootstrap</h2>
<p>This is an example using the bootstrap css. Since we use the bootstrap classnames, everything should just work.</p>
<div>
Sometimes you want to show a
<span class="label label-info tip" onclick="return vanillaTip.click(this);">tooltip</span>.
<div class="popover top">
<div class="arrow"></div>
<div class="popover-content">
This is the content of the tooltip. Writing content is hard.
But content is king!
</div>
</div>
</div>
</section>
<script src="tip.js"></script>
<script>
(function() {
window.vanillaTip.init();
})();
</script>
</body>
</html>