-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (34 loc) · 907 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DatePicker</title>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<link rel="stylesheet" href="./date-picker.css">
<style>
#date-picker-input {
width: 300px;
margin-left: 300px;
margin-top: 300px;
box-sizing: border-box;
height: 30px;
line-height: 30px;
text-align: center;
border: 1px solid #ddd;
display: inline-block;
}
#date-picker-input:focus {
border: 1px solid #75c5dd;
outline: none;
padding: 0 10px;
}
</style>
</head>
<body>
<input id="date-picker-input">
<script src="./date-picker.js" charset="UTF-8"></script>
<script>
datePicker.init("date-picker-input")
</script>
</body>
</html>