-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (36 loc) · 1.53 KB
/
index.html
File metadata and controls
36 lines (36 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="main.css">
<script src="main.js" defer></script>
<title>file input style</title>
</head>
<body>
<div class="wrapper">
<div class="container">
<div class="desc">客制按鈕樣式及欄位</div>
<div class="row row1">
<span class="fileInfo0">請選擇檔案</span>
<label for="file0">選擇檔案</label>
<input id="file0" name="file0" type="file" accept=".png,.jpg,.jpeg">
</div>
<div class="desc">客制按鈕樣式及欄位</div>
<div class="row row2">
<label for="file1"><i class="fa-sharp fa-solid fa-folder-open"></i></label>
<span class="fileInfo1">請選擇檔案</span>
<input id="file1" name="file1" type="file" accept=".png,.jpg,.jpeg">
</div>
<div class="desc">整合預覽變成一組圖示</div>
<div class="row row3">
<img src="" alt="">
<input id="file2" name="file2" type="file" accept=".png,.jpg,.jpeg">
<label for="file2"><i class="fa-sharp fa-solid fa-folder-open"></i></label>
</div>
</div>
</div>
</body>
</html>