-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlayout_cc.html
39 lines (36 loc) · 1.19 KB
/
layout_cc.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Form Autofill Demo: Basic Credit Card @autocomplete</title>
<link rel="stylesheet" href="css/base.css"/>
<style>
.l-inputs input {
width: 180px;
}
.s-inputs input {
width: 100px;
}
</style>
<script type="text/javascript" src="base.js"></script>
</head>
<body>
<h1>Form Autofill Demo: Basic Credit Card @autocomplete</h1>
<h2>Small</h2>
<form class="alignedLabels s-inputs">
<label>Name: <input autocomplete="cc-name"></label>
<label>Card Number: <input autocomplete="cc-number"></label>
<label>Expiration month: <input autocomplete="cc-exp-month"></label>
<label>Expiration year: <input autocomplete="cc-exp-year"></label>
<label>CSC: <input autocomplete="cc-csc"></label>
</form>
<h2>Large</h2>
<form class="alignedLabels l-inputs">
<label>Name: <input autocomplete="cc-name"></label>
<label>Card Number: <input autocomplete="cc-number"></label>
<label>Expiration month: <input autocomplete="cc-exp-month"></label>
<label>Expiration year: <input autocomplete="cc-exp-year"></label>
<label>CSC: <input autocomplete="cc-csc"></label>
</form>
</body>
</html>