-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtest.html
More file actions
72 lines (67 loc) · 1.8 KB
/
test.html
File metadata and controls
72 lines (67 loc) · 1.8 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Segoe UI Symbol", "Apple Color Emoji", "Segoe UI Emoji";
font-size: 14px;
line-height: 1.5;
color: #24292e;
background-color: #ffffff;
}
.drag-container {
box-sizing: border-box;
border: 1px solid #cccccc;
border-radius: 3px;
width: 400px;
padding: 8px;
margin: 0 auto;
}
.drag-box {
box-sizing: border-box;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 3px;
padding: 4px 8px;
margin: 4px;
cursor: pointer;
background-color: #eeeeee;
}
.drag-box:hover {
background-color: #ffff99;
}
.drag-helper {
box-sizing: border-box;
position: absolute;
display: none;
top: auto;
left: auto;
}
.drag-box-dragging .drag-box {
background-color: #ff99cc;
opacity: 0.5;
transform: scale(1.5);
}
</style>
</head>
<body>
<div class="drag-container">
<div class="drag-box" id="item1">Item #1</div>
<div class="drag-box" id="item2">Item #2</div>
<div class="drag-box" id="item3">Item #3</div>
<div class="drag-box" id="item4">Item #4</div>
<div class="drag-box" id="item5">Item #5</div>
<div class="drag-box" id="item6">Item #6</div>
<div class="drag-box" id="item7">Item #7</div>
<div class="drag-box" id="item8">Item #8</div>
<div class="drag-box" id="item9">Item #9</div>
<div class="drag-box" id="item10">Item #10</div>
<div class="drag-box" id="item11">Item #11</div>
<div class="drag-box" id="item12">Item #12</div>
</div>
<script src="dragonfly.js"></script>
</body>
</html>