forked from jpillora/notifyjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinlines.html
More file actions
111 lines (84 loc) · 2.2 KB
/
inlines.html
File metadata and controls
111 lines (84 loc) · 2.2 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<html>
<head>
<title></title>
<style type="text/css">
.z {
display: inline-block;
}
.a {
height: 50px;
width: 70px;
background: lightblue;
}
.b {
height: 100px;
width: 50px;
background: pink;
}
.c {
height: 20px;
width: 200px;
background: lightgreen;
}
hr {
margin: 25px 0 25px 0;
}
</style>
</head>
<body>
<hr/>
<div style="padding: 50px; margin: 50px; width: 592px;">
<div class="z a">a</div>
<div class="z b s">S</div>
<div class="z c">c</div>
<div class="z a">a</div>
<div class="z b">b</div>
<div class="z c t">T</div>
<div class="z a">a</div>
<div class="z b">b</div>
<div class="z c">c</div>
</div>
<hr/>
<div>
<div class="z b">b</div>
<span class="inline">some inline text</span>
</div>
<hr/>
<div>
<span>some inline text</span>
<span class="inline" style="padding: 20px; border: thin solid pink;">and special padding</span>
</div>
<hr/>
<div>
<span>some inline text</span>
<span class="inline" style="margin: 20px; border: thin solid pink;">and special margin</span>
</div>
<hr/>
<div>
<span>some inline text</span>
<span class="inline" style="margin: 20px; padding: 20px; border: thin solid pink;">and special padding margin</span>
</div>
<hr/>
<div>
<span>some inline block text</span>
<span class="inline" style="display: inline-block; margin: 20px; padding: 20px; border: thin solid pink;">and special padding margin</span>
</div>
<hr/>
<div>
<canvas width="100px" height="100px"></canvas>
<span>some canvas</span>
<span class="inline" style="display: inline-block; margin: 20px; padding: 20px; border: thin solid pink;">and special padding margin</span>
</div>
<hr/>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="../dist/notify.js"></script>
<script type="text/javascript">
$.notify.defaults({autoHide: false})
$(function() {
$(".s").notify("s", {position: "right"})
$(".t").notify("t", {position: "top"})
$(".inline").notify("inline!", {position: "right"})
});
</script>
</body>
</html>