forked from crushlovely/skyline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-forms.html
152 lines (127 loc) · 5.75 KB
/
example-forms.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>***YOUR-TITLE-HERE***</title>
<!-- Styles -->
<link rel="stylesheet" href="css/screen.css">
<!-- Canonical Meta -->
<link rel="canonical" href="**YOUR-URL-HERE***">
<!-- Viewport Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO Meta -->
<meta name="description" content="***YOUR-CONTENT-HERE-***">
<meta name="keywords" content="***YOUR-CONTENT-HERE-***">
<meta name="robots" content="INDEX,FOLLOW">
<!-- Favicons -->
<link rel="shortcut icon" type="image/ico" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon-precomposed.png">
<meta name="apple-mobile-web-app-title" content="Unsung">
<!-- Facebook -->
<meta property="og:image" content="***YOUR-URUL-HERE-***/images/avatar.png">
<meta property="og:title" content="***YOUR-TITLE-HERE-***">
<meta property="og:site_name" content="***YOUR-SITE'S-NAME-HERE-***">
<meta property="og:url" content="***YOUR-URL-HERE-***">
<meta property="og:description" content="***YOUR-CONTENT-HERE-***">
<!-- Windows 8 Pin app to start screen -->
<meta name="msapplication-TileColor" content="#272727">
<meta name="msapplication-TileImage" content="***YOUR-URL-HERE-***/apple-touch-icon-precomposed.png">
</head>
<body>
<div class="site">
<header class="site-header" role="banner">
<div class="container">
<a class="branding" href="index.html">
<img class="branding__logo" src="images/fpo-logo.png" alt="Site Name">
<h1 class="branding__wordmark">Site Name</h1>
</a>
<nav class="site-nav">
<a href="index.html">Home</a>
<a href="example-grids.html">Grids</a>
<a href="example-modules.html">Modules</a>
<a href="example-forms.html">Forms</a>
<a href="http://skyline.is">Skyline</a>
</nav>
</div>
</header>
<main class="site-main" role="main">
<section class="block--ends container">
<h1>Example Form</h1>
<p>Here's an example form to give you a head start.</p>
</section>
<section class="block container">
<h2>A basic form example</h2>
<form class="form">
<header class="form__header">
<h1>Title of this form</h1>
</header>
<fieldset>
<legend>Personal Information</legend>
<article class="field">
<label class="field__label" for="exampleInput1">Your Name</label>
<input class="field__input" id="exampleInputA" type="text" required="required" placeholder="Your name">
<span class="field__feedback"></span>
<span class="field__hint"></span>
</article>
<article class="field">
<label class="field__label" for="exampleInputB">Your Email</label>
<input class="field__input" id="exampleInput2" type="email" required="required" placeholder="Your email">
<span class="field__feedback"></span>
<span class="field__hint">Must be a valid email address</span>
</article>
</fieldset>
<fieldset>
<article class="field">
<label class="field__label">Choose your favorite</label>
<div class="field__input-group">
<label class="label--radio" for="favorite-food-1"><input id="favorite-food-1" name="favorite-food" type="radio" value="pizza"> Pizza</label>
<label class="label--radio" for="favorite-food-2"><input id="favorite-food-2" name="favorite-food" type="radio" value="tacos"> Tacos</label>
<label class="label--radio" for="favorite-food-3"><input id="favorite-food-3" name="favorite-food" type="radio" value="burgers"> Burgers</label>
</div>
<span class="field__feedback"></span>
<span class="field__hint"></span>
</article>
<article class="field">
<label class="field__label">Select one</label>
<select name="schramburger">
<option value="value-1">Option 1</option>
<option value="value-2">Option 2</option>
<option value="value-3">Option 3</option>
<option value="value-4">Option 4</option>
</select>
</article>
</fieldset>
<fieldset>
<article class="field">
<label class="field__label">Your message</label>
<textarea class="field__input">Hello, there</textarea>
<span class="field__feedback"></span>
<span class="field__hint"></span>
</article>
</fieldset>
<footer class="form__actions">
<input type="submit" class="btn btn--block" value="Submit">
</footer>
</form>
</section>
<section class="block container">
<p><em>You'll find more examples in the comments of the modules/_forms.scss partial.</em></p>
</section>
</main>
<footer class="site-footer">
<div class="container">
<a class="branding" href="/">Site Name</a>
<nav class="site-nav">
<a href="index.html">Home</a>
<a href="example-grids.html">Grids</a>
<a href="example-modules.html">Modules</a>
<a href="example-forms.html">Forms</a>
<a href="http://skyline.is">Skyline</a>
</nav>
<small class="site-credits">© 2014 Site Name</small>
</div>
</footer>
</div><!--/.site-->
</body>
</html>