-
Notifications
You must be signed in to change notification settings - Fork 88
/
demo.html
66 lines (64 loc) · 2.69 KB
/
demo.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Arash Manteghi">
<link rel="icon" href="http://arashm.net/lab/simptip/favicon.ico" sizes="32x32">
<title>Simptip Demo</title>
<link rel="stylesheet" type="text/css" href="simptip.min.css" media="screen,projection" />
<style>
body {
text-align: center;
font-family: Arial;
background: #ddd;
height: 100%;
font-size: 18px;
color: #444;
}
h1 {font-size: 4em;}
h3{font-size: 1.2em;}
h1,h3{margin: 10px;}
table{
width: 60%;
margin: 10px 20%;
}
span {margin-top: 10px;}
</style>
</head>
<body>
<h1>Simptip</h1>
<h3>A simple CSS tooltip that has been made by Sass</h3>
<table>
<tr>
<td><span class="simptip-position-top" data-tooltip="I'm in top">position top</span></td>
<td><span class="simptip-position-bottom" data-tooltip="I'm in bottom">position bottom</span></td>
</tr>
<tr>
<td><span class="simptip-position-right" data-tooltip="I'm in right">position right</span></td>
<td><span class="simptip-position-left" data-tooltip="I'm in left">position left</span></td>
</tr>
<tr>
<td><span class="simptip-position-top simptip-success" data-tooltip="I'm a success tooltip">success</span></td>
<td><span class="simptip-position-top simptip-info" data-tooltip="I'm an info tooltip">info</span></td>
</tr>
<tr>
<td><span class="simptip-position-top simptip-warning" data-tooltip="I'm a warning tooltip">warning</span></td>
<td><span class="simptip-position-top simptip-danger" data-tooltip="I'm a danger tooltip">danger</span></td>
</tr>
<tr>
<td><span class="simptip-position-right half-arrow simptip-warning" data-tooltip="I'm a tooltip with half arrow">half arrow</span></td>
<td><span class="simptip-position-top simptip-smooth" data-tooltip="I'm a tooltip with soft edge">soft edge</span></td>
</tr>
<tr>
<td><span class="simptip-position-top simptip-fade" data-tooltip="I'm a tooltip with fade effect">fade effect</span></td>
<td><span class="simptip-position-top simptip-movable" data-tooltip="I'm a tooltip with movable effect">movable effect</span></td>
</tr>
<tr>
<td><span class="simptip-position-top simptip-movable half-arrow simptip-multiline simptip-info" data-tooltip="I'm a multiline tooltip with movable effect and half arrow for information">
multiline
</span></td>
</tr>
</table>
</body>
</html>