-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
40 lines (40 loc) · 1.45 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
<!doctype html>
<html>
<head>
<title>Better File Input</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<script src="https://unpkg.com/better-file-input"></script>
</head>
<body>
<div class="container p-3 mx-auto" style="max-width: 900px">
<div class="text-center text-xl mb-5">📁 Single file</div>
<div class="flex flex-col md:flex-row md:justify-around items-center mb-5">
<div class="flex justify-center w-full md:w-2/5 mb-3">
<input type="file" style="width: 220px">
</div>
<div class="text-xl mb-3">
<span class="hidden md:inline">→</span>
<span class="inline md:hidden">↓</span>
</div>
<div class="flex justify-center w-4/5 md:w-2/5 mb-3">
<input type="file" class="bfi">
</div>
</div>
<div class="text-center text-xl mb-5">🗃 Multiple files</div>
<div class="flex flex-col md:flex-row md:justify-around items-center mb-5">
<div class="flex justify-center w-full md:w-2/5 mb-3">
<input type="file" multiple style="width: 220px">
</div>
<div class="text-xl mb-3">
<span class="hidden md:inline">→</span>
<span class="inline md:hidden">↓</span>
</div>
<div class="flex justify-center w-4/5 md:w-2/5 mb-3">
<input type="file" multiple class="bfi">
</div>
</div>
</div>
</body>
</html>