mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
136 lines
4.3 KiB
HTML
136 lines
4.3 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Text Inputs</title>
|
|
|
|
<!-- Sets initial viewport load and disables zooming -->
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
<link href="/vendor/font-awesome/css/font-awesome.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="../dist/ionic.css">
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<section class="view">
|
|
|
|
<header class="bar bar-header bar-dark">
|
|
<h1 class="title">Text Inputs</h1>
|
|
</header>
|
|
|
|
<header class="bar bar-footer bar-dark">
|
|
<h1 class="title">Footer</h1>
|
|
</header>
|
|
|
|
<div class="content has-header has-footer">
|
|
|
|
<h3>Default Text Input, Not Inset, No Content Padding</h3>
|
|
<label class="input-wrapper">
|
|
<input type="text" placeholder="First Name">
|
|
</label>
|
|
<label class="input-wrapper">
|
|
<input type="text" placeholder="Last Name">
|
|
</label>
|
|
<label class="input-wrapper">
|
|
<input type="email" placeholder="Email">
|
|
</label>
|
|
|
|
<h3>Default Text Input, Is Inset, No Content Padding</h3>
|
|
<label class="input-wrapper inset">
|
|
<input type="email" placeholder="Email">
|
|
</label>
|
|
|
|
<div class="content-padded">
|
|
|
|
<h3>Default Text Input, Not Inset, With Content Padding</h3>
|
|
<label class="input-wrapper">
|
|
<input type="email" placeholder="Email">
|
|
</label>
|
|
|
|
<h3>Default Text Input, Is Inset, With Content Padding</h3>
|
|
<label class="input-wrapper inset">
|
|
<input type="email" placeholder="Email">
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3>Inline Label On Top Of Text Input, Not Inset, No Content Padding</h3>
|
|
<label class="input-wrapper row-fluid">
|
|
<span class="input-label span3">Email</span>
|
|
<input class="span9" type="text" placeholder="your@email.com">
|
|
</label>
|
|
<label class="input-wrapper row-fluid">
|
|
<span class="input-label span3">Email</span>
|
|
<input class="span9" type="text" placeholder="your@email.com">
|
|
</label>
|
|
<label class="input-wrapper row-fluid">
|
|
<span class="input-label span3">Email</span>
|
|
<input class="span9" type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
<h3>Inline Label On Top Of Text Input, Is Inset, No Content Padding</h3>
|
|
<label class="input-wrapper row-fluid inset">
|
|
<span class="input-label span3">Email</span>
|
|
<input class="span9" type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
<div class="content-padded">
|
|
|
|
<h3>Inline Label On Top Of Text Input, Not Inset, With Content Padding</h3>
|
|
<label class="input-wrapper row-fluid">
|
|
<span class="input-label span3">Email</span>
|
|
<input class="span9" type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
<h3>Inline Label On Top Of Text Input, Is Inset, With Content Padding</h3>
|
|
<label class="input-wrapper row-fluid inset">
|
|
<span class="input-label span3">Email</span>
|
|
<input class="span9" type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3>Stacked Label On Top Of Text Input, Not Inset, No Content Padding</h3>
|
|
<label class="input-wrapper stacked-label">
|
|
<span>Email</span>
|
|
<input type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
<h3>Stacked Label On Top Of Text Input, Is Inset, No Content Padding</h3>
|
|
<label class="input-wrapper stacked-label inset">
|
|
<span>Email</span>
|
|
<input type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
<div class="content-padded">
|
|
|
|
<h3>Stacked Label On Top Of Text Input, Not Inset, With Content Padding</h3>
|
|
<label class="input-wrapper stacked-label">
|
|
<span>Email</span>
|
|
<input type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
<h3>Stacked Label On Top Of Text Input, Is Inset, With Content Padding</h3>
|
|
<label class="input-wrapper stacked-label inset">
|
|
<span>Email</span>
|
|
<input type="text" placeholder="your@email.com">
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p><a class="button button-secondary" href="index.html">Homepage</a></p>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</body>
|
|
</html>
|