-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevent2.html
More file actions
54 lines (50 loc) · 1.16 KB
/
Copy pathevent2.html
File metadata and controls
54 lines (50 loc) · 1.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,body{
width: 100%;
height: 100%;
}
#main {
font-family: Arial, Helvetica, sans-serif;
width: 100%;
height: 100%;
background-color:#e3e3e3 ;
display: flex;
align-items: center;
justify-content: center;
}
input{
display: none;
}
#btn{
padding: 12px 22px;
background-color: rgb(41, 143, 114);
color: white;
font-weight: 500;
border-radius: 5px;
}
#btn:hover{
background-color: rgb(11, 126, 88);
}
</style>
</head>
<body>
<div id="main">
<input id="fileinp" type="file">
<div id="btn">
Upload File
</div>
</div>
<script src="event2.js"></script>
</body>
</html>