-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
109 lines (96 loc) · 2.47 KB
/
index.html
File metadata and controls
109 lines (96 loc) · 2.47 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
<!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">
<link rel="stylesheet" type="text/css" href="icon/iconfont.css">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100%;
top: 0;
bottom: 0;
position: absolute;
width: 100%;
}
.clearfix:after {
content: " ";
display: block;
clear: both;
height: 0;
}
.clearfix {
zoom: 1;
}
.father {
height: 100%;
position: relative;
overflow: hidden;
}
.child {
width: 100%;
height: 100%;
position: relative;
}
.container{
position: absolute;
width:100%;
height: 100%;
top:20px;
background: #8a8585;
}
.btnHorizontal {
position: absolute;
transition: all .5s;
cursor: pointer;
top: 10px;
right: 30px;
}
.btnHorizontal:hover{
transform: scale(1.4);
}
.btnVertical:hover{
transform: scale(1.4);
}
.btnVertical {
position: absolute;
transition: all .5s;
cursor: pointer;
top: 10px;
right: 50px;
}
.btnCancel{
position: absolute;
transition: all .5s;
cursor: pointer;
opacity: 0;
top: 10px;
right:10px;
}
.btnCancel:hover{
transform: scale(1.4);
}
.cross{
cursor:crosshair;
}
.border-v{position: absolute; z-index: 999; right: 0; cursor:w-resize;height: 100%;width: 3px;background: #000;transition: all .5s;}
.border-v:hover{
background: #af2b2b;
}
.border-h:hover{
background: #ee05a0;
}
.border-h{position:absolute; z-index: 998; bottom: 0; cursor:n-resize;width: 100%;height:3px;background: #000;transition: all .5s;}
</style>
</head>
<body>
</body>
</html>
<script src="dist/main.js"></script>
<script src="test.js"></script>