-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
43 lines (35 loc) · 1.34 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
<!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">
<title>Credit card input</title>
<link rel="stylesheet" href="./css/demo.css">
<link rel="stylesheet" href="./css/credit-card-input.css">
</head>
<body>
<div class="container">
<h1>Credit card input</h1>
<p>Simple and minimal plugin to input credit card number.</p>
<div class="credit-card-inputs">
<div class="credit-card-inputs__fields">
<input type="text" data-pos="1" placeholder="xxxx">
<input type="text" data-pos="2" placeholder="xxxx">
<input type="text" data-pos="3" placeholder="xxxx">
<input type="text" data-pos="4" placeholder="xxxx">
</div>
<button class="credit-card-inputs__reset">Reset</button>
</div>
<div class="demo__result">
<h4>Result:</h4>
<em>[Ready for send to backend]</em>
<div style="margin-top: 15px;">
<input type="text" id="credit_card_result" readonly>
</div>
</div>
</div>
<script src="./js/credit-card-input.js"></script>
<script src="./js/copy-to-clipbard.js"></script>
</body>
</html>