-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
82 lines (74 loc) · 2.29 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<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>Pagamento</title>
<link rel="shortcut icon" href="./images/security.svg" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
</head>
<body>
<form>
<section id="credit-card">
<div class="front"></div>
<div class="back"></div>
</section>
<section class="input-wrapper">
<div id="input-number">
<label for="cc-number">Número do cartão</label>
<input id="cc-number"
type="text"
placeholder="**** **** **** ****"
/>
</div>
<div id="input-name">
<label for="cc-holder">Nome do titular</label>
<input id="cc-holder"
type="text"
placeholder="Nome como está no cartão"
required
/>
<div class="warning">
<img src="images/warning.svg"
alt="ícone de cuidado">
<p>Nome do titular é obrigatório</p>
</div>
</div>
<div id="input-val">
<label for="cc-val">Validade</label>
<input id="cc-val"
type="text"
placeholder="mm/aa"
/>
</div>
<div id="input-cvv">
<label for="cc-cvv">CVV
<img src="./images/help.svg"
alt="ícone de ajuda"
title="Esse número está, geralmente, nas costas
do seu cartão"
>
</label>
<input id="cc-cvv"
type="text"
placeholder="***"
/>
</div>
</section>
<section class="info-security">
<img src="./images/security.svg"
alt="ícone de um escudo">
<p>Seus dados estão seguros</p>
</section>
<section class="button">
<button>Adicionar Cartão</button>
</section>
</form>
<script src="https://unpkg.com/imask"></script>
<script src="script.js"></script>
</body>
</html>