forked from kazzkiq/balloon.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
53 lines (52 loc) · 1.84 KB
/
test.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<!-- <link rel="stylesheet" href="https://unpkg.com/[email protected]/balloon.min.css"> -->
<link rel="stylesheet" href="balloon.min.css">
<style>
body {
margin: 200px;
}
.btn-length {
width: 120px;
}
</style>
</head>
<body>
<h1>Positioning</h1>
<p>
<button aria-label="Hello World!">Should not work (only [aria-label])</button>
</p>
<p>
<button aria-label="Hello World!" data-balloon-pos="up">Hover me!</button>
</p>
<p>
<button aria-label="Hello World!" data-balloon-pos="down">Hover me!</button>
</p>
<p>
<button aria-label="Hello World!" data-balloon-pos="left">Hover me!</button>
</p>
<p>
<button aria-label="Hello World!" data-balloon-pos="right">Hover me!</button>
</p>
<p>
<button aria-label="akjshdkjashdkjasdhkjsadhsjkadhsjkadhsajkdhsjkadhsakjdhsakjdhsakjdhsakjdhsakjdhsakjdhsajkd" data-balloon-pos="up-right" class="btn-length">Hover me!</button>
</p>
<p>
<button aria-label="Hello World!" data-balloon-pos="up-left" class="btn-length" data-balloon-blunt>Hover me!</button>
</p>
<p>
<button aria-label="Hello World!" data-balloon-pos="down-right" class="btn-length" data-balloon-blunt>Hover me!</button>
</p>
<p>
<button aria-label="- Item 1 - Item 2 - Item 3 - Item 4" data-balloon-pos="down" data-balloon-break class="btn-length" data-balloon-blunt>Hover me!</button>
</p>
<p>
<button aria-label="akjshdkjashdkjasdhkjsadhsjkadhsjkadhsajkdhsjkadhsakjdhsakjdhsakjdhsakjdhsakjdhsakjdhsajkd" data-balloon-break data-balloon-length="large" data-balloon-pos="down" class="btn-length">Hover me!</button>
</p>
</body>
</html>