-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
252 lines (236 loc) · 16.3 KB
/
index.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE html>
<!-- saved from url=(0030)http://nativeformelements.com/ -->
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" id="alertifyCSS">.alertify-logs>*{padding:12px 24px;color:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,.2);border-radius:1px}.alertify-logs>*,.alertify-logs>.default{background:rgba(0,0,0,.8)}.alertify-logs>.error{background:rgba(244,67,54,.8)}.alertify-logs>.success{background:rgba(76,175,80,.9)}.alertify{position:fixed;background-color:rgba(0,0,0,.3);left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:2}.alertify.hide{opacity:0;pointer-events:none}.alertify,.alertify.show{box-sizing:border-box;transition:all .33s cubic-bezier(.25,.8,.25,1)}.alertify,.alertify *{box-sizing:border-box}.alertify .dialog{padding:12px}.alertify .alert,.alertify .dialog{width:100%;margin:0 auto;position:relative;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.alertify .alert>*,.alertify .dialog>*{width:400px;max-width:95%;margin:0 auto;text-align:center;padding:12px;background:#fff;box-shadow:0 2px 4px -1px rgba(0,0,0,.14),0 4px 5px 0 rgba(0,0,0,.098),0 1px 10px 0 rgba(0,0,0,.084)}.alertify .alert .msg,.alertify .dialog .msg{padding:12px;margin-bottom:12px;margin:0;text-align:left}.alertify .alert input:not(.form-control),.alertify .dialog input:not(.form-control){margin-bottom:15px;width:100%;font-size:100%;padding:12px}.alertify .alert input:not(.form-control):focus,.alertify .dialog input:not(.form-control):focus{outline-offset:-2px}.alertify .alert nav,.alertify .dialog nav{text-align:right}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button),.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button){background:transparent;box-sizing:border-box;color:rgba(0,0,0,.87);position:relative;outline:0;border:0;display:inline-block;-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;padding:0 6px;margin:6px 8px;line-height:36px;min-height:36px;white-space:nowrap;min-width:88px;text-align:center;text-transform:uppercase;font-size:14px;text-decoration:none;cursor:pointer;border:1px solid transparent;border-radius:2px}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover{background-color:rgba(0,0,0,.05)}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus{border:1px solid rgba(0,0,0,.1)}.alertify .alert nav button.btn,.alertify .dialog nav button.btn{margin:6px 4px}.alertify-logs{position:fixed;z-index:1}.alertify-logs.bottom,.alertify-logs:not(.top){bottom:16px}.alertify-logs.left,.alertify-logs:not(.right){left:16px}.alertify-logs.left>*,.alertify-logs:not(.right)>*{float:left;-webkit-transform:translateZ(0);transform:translateZ(0);height:auto}.alertify-logs.left>.show,.alertify-logs:not(.right)>.show{left:0}.alertify-logs.left>*,.alertify-logs.left>.hide,.alertify-logs:not(.right)>*,.alertify-logs:not(.right)>.hide{left:-110%}.alertify-logs.right{right:16px}.alertify-logs.right>*{float:right;-webkit-transform:translateZ(0);transform:translateZ(0)}.alertify-logs.right>.show{right:0;opacity:1}.alertify-logs.right>*,.alertify-logs.right>.hide{right:-110%;opacity:0}.alertify-logs.top{top:0}.alertify-logs>*{box-sizing:border-box;transition:all .4s cubic-bezier(.25,.8,.25,1);position:relative;clear:both;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000;max-height:0;margin:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.alertify-logs>.show{margin-top:12px;opacity:1;max-height:1000px;padding:12px;pointer-events:auto}</style>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<meta name="description" content="What every form element looks like in your browser on your operating system.">
<meta name="keywords" content="Native Form Elements, HTML, Forms, Display, View, Native">
<meta name="author" content="Joshua Jenkins">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="./index_files/style.css">
<meta property="og:title" content="Native Form Elements">
<meta property="og:type" content="website">
<meta property="og:url" content="http://nativeformelements.com">
<meta property="og:site_name" content="Native Form Elements">
<title>Native Form Elements</title>
</head>
<body cz-shortcut-listen="true" style="cursor: default;">
<div class="wrapper">
<header>
<h1>Native Form Elements</h1>
<h2>This is what every (ish?) <span class="small-caps">html5</span> form element looks like on your current operating system and browser. by <a href="http://twitter.com/joshuajenkins">Joshua Jenkins</a></h2>
<div class="show-disabled-control">
<input name="show-disabled" id="show-disabled" type="checkbox">
<label for="show-disabled">Show disabled elements</label>
</div>
</header>
<div id="elements" class="">
<div class="element">
<input autofocus="">
<div class="disabled-el"><input autofocus="" disabled=""></div>
<pre><code class="markup language-markup"><input autofocus></code></pre>
</div>
<div class="element">
<input>
<div class="disabled-el"><input disabled=""></div>
<pre><code class="markup language-markup"><input></code></pre>
</div>
<div class="element">
<form><input required=""><input type="submit"></form>
<div class="disabled-el"><form><input required="" disabled=""><input type="submit" disabled=""></form></div>
<pre><code class="markup language-markup"><input required></code></pre>
</div>
<div class="element">
<input type="text">
<div class="disabled-el"><input type="text" disabled=""></div>
<pre><code class="markup language-markup"><input type=text></code></pre>
</div>
<div class="element">
<textarea></textarea>
<div class="disabled-el"><textarea disabled=""></textarea></div>
<pre><code class="markup language-markup"><textarea></textarea></code></pre>
</div>
<div class="element">
<input type="password" placeholder="password">
<div class="disabled-el"><input type="password" placeholder="password" disabled=""></div>
<pre><code class="markup language-markup"><input type=password placeholder=password></code></pre>
</div>
<div class="element">
<input type="radio">
<div class="disabled-el"><input type="radio" disabled=""></div>
<pre><code class="markup language-markup"><input type=radio></code></pre>
</div>
<div class="element">
<input type="radio" checked="">
<div class="disabled-el"><input type="radio" checked="" disabled=""></div>
<pre><code class="markup language-markup"><input type=radio checked></code></pre>
</div>
<div class="element">
<input type="checkbox">
<div class="disabled-el"><input type="checkbox" disabled=""></div>
<pre><code class="markup language-markup"><input type=checkbox></code></pre>
</div>
<div class="element">
<input type="checkbox" checked="">
<div class="disabled-el"><input type="checkbox" checked="" disabled=""></div>
<pre><code class="markup language-markup"><input type=checkbox checked></code></pre>
</div>
<div class="element">
<select><option></option><option>Option 1</option></select>
<div class="disabled-el"><select disabled=""><option></option><option>Option 1</option></select></div>
<pre><code class="markup language-markup">
<select>
<option></option>
<option>Option 1</option>
</select></code></pre>
</div>
<div class="element">
<select><optgroup label="Option group 1"><option>Option 1</option><option>Option 2</option></optgroup><optgroup><option>Option 3</option></optgroup></select>
<div class="disabled-el"><select disabled=""><optgroup label="Option group 1"><option>Option 1</option><option>Option 2</option></optgroup><optgroup><option>Option 3</option></optgroup></select></div>
<pre><code class="markup language-markup">
<select>
<optgroup label="Option group 1">
<option>Option 1</option>
<option>Option 2</option>
</optgroup>
<optgroup>
<option>Option 3</option>
</optgroup>
</select></code></pre>
</div>
<div class="element">
<input type="text" placeholder="placeholder">
<div class="disabled-el"><input type="text" placeholder="placeholder" disabled=""></div>
<pre><code class="markup language-markup"><input type=text placeholder=placeholder></code></pre>
</div>
<div class="element">
<input type="search">
<div class="disabled-el"><input type="search" disabled=""></div>
<pre><code class="markup language-markup"><input type=search></code></pre>
</div>
<div class="element">
<input type="file">
<div class="disabled-el"><input type="file" disabled=""></div>
<pre><code class="markup language-markup"><input type=file></code></pre>
</div>
<div class="element">
<fieldset><legend>Legend</legend><label for="field">Label</label><input id="field"></fieldset>
<div class="disabled-el"><fieldset><legend>Legend</legend><label for="field">Label</label><input id="field" disabled=""></fieldset></div>
<pre><code class="markup language-markup">
<fieldset>
<legend>Legend</legend>
<label for=field>Label</label>
<input id=field>
</fieldset></code></pre>
</div>
<div class="element">
<input type="submit">
<div class="disabled-el"><input type="submit" disabled=""></div>
<pre><code class="markup language-markup"><input type=submit></code></pre>
</div>
<div class="element">
<button>Button</button>
<div class="disabled-el"><button disabled="">Button</button></div>
<pre><code class="markup language-markup"><button>Button</button></code></pre>
</div>
<div class="element">
<input type="reset">
<div class="disabled-el"><input type="reset" disabled=""></div>
<pre><code class="markup language-markup"><input type=reset></code></pre>
</div>
<div class="element">
<input type="email">
<div class="disabled-el"><input type="email" disabled=""></div>
<pre><code class="markup language-markup"><input type=email></code></pre>
</div>
<div class="element">
<input type="tel">
<div class="disabled-el"><input type="tel" disabled=""></div>
<pre><code class="markup language-markup"><input type=tel></code></pre>
</div>
<div class="element">
<input type="url">
<div class="disabled-el"><input type="url" disabled=""></div>
<pre><code class="markup language-markup"><input type=url></code></pre>
</div>
<div class="element">
<input type="number">
<div class="disabled-el"><input type="number" disabled=""></div>
<pre><code class="markup language-markup"><input type=number></code></pre>
</div>
<div class="element">
<input type="number" min="0" max="15" step="3">
<div class="disabled-el"><input type="number" min="0" max="15" step="3" disabled=""></div>
<pre><code class="markup language-markup"><input type=number min=0 max=15 step=3></code></pre>
</div>
<div class="element">
<input type="range">
<div class="disabled-el"><input type="range" disabled=""></div>
<pre><code class="markup language-markup"><input type=range></code></pre>
</div>
<div class="element">
<input type="range" min="0" max="15" step="3">
<div class="disabled-el"><input type="range" min="0" max="15" step="3" disabled=""></div>
<pre><code class="markup language-markup"><input type=range min=0 max=15 step=3></code></pre>
</div>
<div class="element">
<input type="date">
<div class="disabled-el"><input type="date" disabled=""></div>
<pre><code class="markup language-markup"><input type=date></code></pre>
</div>
<div class="element">
<input type="month">
<div class="disabled-el"><input type="month" disabled=""></div>
<pre><code class="markup language-markup"><input type=month></code></pre>
</div>
<div class="element">
<input type="week">
<div class="disabled-el"><input type="week" disabled=""></div>
<pre><code class="markup language-markup"><input type=week></code></pre>
</div>
<div class="element">
<input type="time">
<div class="disabled-el"><input type="time" disabled=""></div>
<pre><code class="markup language-markup"><input type=time></code></pre>
</div>
<div class="element">
<input type="datetime">
<div class="disabled-el"><input type="datetime" disabled=""></div>
<pre><code class="markup language-markup"><input type=datetime></code></pre>
</div>
<div class="element">
<input type="datetime-local">
<div class="disabled-el"><input type="datetime-local" disabled=""></div>
<pre><code class="markup language-markup"><input type=datetime-local></code></pre>
</div>
<div class="element">
<img style="min-width:16px;min-height:16px;box-sizing:unset;box-shadow:none;background:unset;padding:0 6px 0 0;cursor:pointer;" src="chrome-extension://ohcpnigalekghcmgcdcenkpelffpdolg/img/icon16.png" title="Select with ColorPick Eyedropper - See advanced option: "Add ColorPick Eyedropper near input[type=color] fields on websites"" class="colorpick-eyedropper-input-trigger"><input type="color" colorpick-eyedropper-active="true">
<div class="disabled-el"><img style="min-width:16px;min-height:16px;box-sizing:unset;box-shadow:none;background:unset;padding:0 6px 0 0;cursor:pointer;" src="chrome-extension://ohcpnigalekghcmgcdcenkpelffpdolg/img/icon16.png" title="Select with ColorPick Eyedropper - See advanced option: "Add ColorPick Eyedropper near input[type=color] fields on websites"" class="colorpick-eyedropper-input-trigger"><input type="color" disabled="" colorpick-eyedropper-active="true"></div>
<pre><code class="markup language-markup"><input type=color></code></pre>
</div>
<div class="element">
<img style="min-width:16px;min-height:16px;box-sizing:unset;box-shadow:none;background:unset;padding:0 6px 0 0;cursor:pointer;" src="chrome-extension://ohcpnigalekghcmgcdcenkpelffpdolg/img/icon16.png" title="Select with ColorPick Eyedropper - See advanced option: "Add ColorPick Eyedropper near input[type=color] fields on websites"" class="colorpick-eyedropper-input-trigger"><input type="color" value="#ff3d3d" colorpick-eyedropper-active="true">
<div class="disabled-el"><img style="min-width:16px;min-height:16px;box-sizing:unset;box-shadow:none;background:unset;padding:0 6px 0 0;cursor:pointer;" src="chrome-extension://ohcpnigalekghcmgcdcenkpelffpdolg/img/icon16.png" title="Select with ColorPick Eyedropper - See advanced option: "Add ColorPick Eyedropper near input[type=color] fields on websites"" class="colorpick-eyedropper-input-trigger"><input type="color" value="#ff3d3d" disabled="" colorpick-eyedropper-active="true"></div>
<pre><code class="markup language-markup"><input type=color value="#ff3d3d"></code></pre>
</div>
<div class="element">
<progress max="100" value="82" id="progress-meter"></progress>
<pre><code class="markup language-markup"><progress max="100" value="<span id="progress-meter-value">82</span>"></progress></code></pre>
</div>
<div class="element">
<progress></progress>
<pre><code class="markup language-markup"><progress></progress></code></pre>
</div>
<div class="element">
<meter value="18" min="0" max="100" low="25" high="75" optimum="15" id="meter-meter"></meter>
<pre><code class="markup language-markup"><meter value="<span id="meter-meter-value">18</span>" min="0" max="100"<br> low="25" high="75" optimum="15"></meter></code></pre>
</div>
</div>
</div>
<script src="./index_files/nfe.js.download"></script>
<walnut-highlight-tool><template shadowrootmode="open"></template></walnut-highlight-tool></body></html>