This commit is contained in:
Ray Lin 2017-08-07 13:55:17 +08:00
Родитель 4645758b7c
Коммит 2765dbe561
2 изменённых файлов: 40 добавлений и 1 удалений

Просмотреть файл

@ -14,7 +14,8 @@
<li><a href="autocomplete-us-separate-fields.html">Basic U.S. form using @autocomplete</a></li>
<li><a href="autocomplete-all.html">Including all supported @autocomplete</a></li>
<li><a href="textarea_select.html">&lt;textarea&gt; &amp; &lt;select&gt;</a></li>
<li><a href="layout.html">Fields with different width</a></li>
<li><a href="layout.html">Address fields with different width</a></li>
<li><a href="layout_cc.html">Credit card fields with different width</a></li>
<li><a href="billing_shipping.html">Includes "billing" and "shipping"</a></li>
<li><a href="two_forms.html">Two forms</a></li>
</ul>

38
layout_cc.html Normal file
Просмотреть файл

@ -0,0 +1,38 @@
<!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>
</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>