-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
49 lines (48 loc) · 1.25 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>GIF Parse</title>
<meta charset="utf-8" />
<style>
html, body {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
font-size: 0;
text-align: center;
}
body:before {
width: 0;
height: 1px;
content: "";
display: block;
}
.drop-area {
font-size: 14px;
width: 200px;
height: 200px;
border: 1px dashed gray;
margin: 100px auto 0;
}
.drop-area:after {
height: 100%;
width: 0;
content: "";
display: inline-block;
vertical-align: middle;
}
.tip {
width: 100px;
display: inline-block;
vertical-align: middle;
}
</style>
</head>
<body>
<div class="drop-area">
<div class="tip">拖个GIF进来试试(比如QQ表情)</div>
</div>
</body>
<script src="index.js"></script>
</html>