40 строки
1.2 KiB
HTML
40 строки
1.2 KiB
HTML
<!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>
|