-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
104 lines (104 loc) · 3.03 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,700;1,400;1,500&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./styles.css" />
<link rel="shortcut icon" href="favicon.png" type="image/x-icon" />
<script type="module" defer src="./index.js"></script>
<title>3D Credit Card</title>
<meta
name="description"
content="Custom 3D credit card render using Three.js"
/>
</head>
<body>
<img src="./loader.svg" id="loader" alt="Loader icon" />
<canvas id="canvas"></canvas>
<div class="cardInfoContainer">
<div class="content">
<h2 class="title">Card Settings</h2>
<div class="inputDiv">
<label class="label" for="Name">Name:</label>
<input
class="inputField"
type="text"
name="Name"
id="name"
placeholder="Your Full Name"
/>
</div>
<div class="inputDiv">
<label class="label" for="number">Card Number:</label>
<input
class="inputField"
type="text"
name="number"
id="number"
placeholder="0000 0000 0000 0000"
/>
</div>
<div class="inputDiv">
<label class="label" for="expiration">Expiration Date:</label>
<input
class="inputField"
type="text"
name="expiration"
id="expiration"
placeholder="12/12"
/>
</div>
<div class="inputDiv">
<label class="label" for="expiration">CVV:</label>
<input
class="inputField"
class="inputField"
type="text"
name="cvv"
id="cvv"
placeholder="736"
/>
</div>
<div class="inputDiv colorDiv">
<label class="label name" for="colorPicker">Card color:</label>
<input
class="colorPicker"
type="color"
name="color"
id="colorPicker"
value="#791d10"
/>
</div>
<div class="inputDiv colorDiv">
<label class="label name" for="textColorPicker">Text color:</label>
<input
class="colorPicker"
type="color"
name="textColorPicker"
id="textColorPicker"
value="#ffffff"
/>
</div>
<div class="inputDiv colorDiv">
<label class="label name" for="textColorPicker">Rotate Card:</label>
<input
class="rotateCard"
type="checkbox"
name="rotateCard"
id="rotateCard"
checked
/>
</div>
<button id="confirm" class="confirmBtn">Close</button>
</div>
</div>
<button class="openModalBtn">Edit Card</button>
</body>
</html>