form-fill-examples/layout_cc.html

40 строки
1.2 KiB
HTML
Исходник Обычный вид История

2017-08-07 08:55:17 +03:00
<!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>
2017-11-28 11:55:18 +03:00
<script type="text/javascript" src="base.js"></script>
2017-08-07 08:55:17 +03:00
</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>