-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.html
29 lines (29 loc) · 1.22 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
<!DOCTYPE html>
<html lang="pt-BR">
<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>PureMask.js by Rômulo Brasil</title>
</head>
<body>
<form>
<input type="text" class="mask data-com-hora" data-mask="##/##/#### ##:##">
<input type="text" class="mask data" data-mask="##/##/####">
<input type="text" class="mask tempo" data-mask="##:##:##">
<input type="text" class="mask tempo-com-siglas" data-mask="##h##m">
<input type="text" class="mask CEP" data-mask="#####-###">
<input type="text" class="mask telefone-DDD" data-mask="(##) ####-####">
<input type="text" class="mask CPF" data-mask="###.###.###-##">
<input type="text" class="mask CNPJ" data-mask="##.###.###/####-##">
<input type="text" class="mask dinheiro" data-mask="###.###.###.###.###.###,##">
<input type="text" class="mask mixed" data-mask="NNNN ###-###">
<input type="text" class="mask placa-carro" data-mask="AAA ####">
<input type="text" class="mask placa-carro-novo" data-mask="AAA#A##">
</form>
<script src="puremask.js"></script>
<script>
PureMask.format('mask', true);
</script>
</body>
</html>