Created
November 6, 2017 19:06
-
-
Save heiswayi/745d2f6361c52b9102096718e428a724 to your computer and use it in GitHub Desktop.
Form UI Mockup Framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Formalize CSS</title> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<h1> | |
Example of all form elements | |
</h1> | |
<form action="#" method="post" enctype="multipart/form-data" onsubmit="return false"> | |
<p> | |
<input type="checkbox" id="test_checkbox_1" name="test_checkbox_1" /> | |
<label for="test_checkbox_1"> | |
Test checkbox 1 | |
</label> | |
| |
| |
<input type="checkbox" id="test_checkbox_2" name="test_checkbox_2" /> | |
<label for="test_checkbox_2"> | |
Test checkbox 2 | |
</label> | |
| |
| |
<input type="checkbox" id="test_checkbox_3" name="test_checkbox_3" /> | |
<label for="test_checkbox_3"> | |
Test checkbox 3 | |
</label> | |
</p> | |
<p> | |
<input type="radio" id="test_radio_1" name="test_radio_group" /> | |
<label for="test_radio_1"> | |
Test radio 1 | |
</label> | |
| |
| |
<input type="radio" id="test_radio_2" name="test_radio_group" /> | |
<label for="test_radio_2"> | |
Test radio 2 | |
</label> | |
| |
| |
<input type="radio" id="test_radio_3" name="test_radio_group" /> | |
<label for="test_radio_3"> | |
Test radio 3 | |
</label> | |
</p> | |
<p> | |
<label for="select_dd"> | |
Select drop-down | |
</label> | |
<br /> | |
<select id="select_dd" name="select_dd"> | |
<optgroup label="Group 1"> | |
<option value="1">Some text goes here</option> | |
<option value="2">Another choice could be here</option> | |
<option value="3">Yet another item to be chosen</option> | |
</optgroup> | |
<optgroup label="Group 2"> | |
<option value="4">Some text goes here</option> | |
<option value="5">Another choice could be here</option> | |
<option value="6">Yet another item to be chosen</option> | |
</optgroup> | |
<optgroup label="Group 3"> | |
<option value="7">Some text goes here</option> | |
<option value="8">Another choice could be here</option> | |
<option value="9">Yet another item to be chosen</option> | |
</optgroup> | |
</select> | |
<input type="text" id="text_inline" name="text_inline" /> | |
<input type="button" value="Hello" /> | |
</p> | |
<p> | |
<label for="select_multi"> | |
Select multiple | |
</label> | |
<br /> | |
<select id="select_multi" name="select_multi" multiple="multiple" size="10"> | |
<optgroup label="Group 1"> | |
<option value="1">Some text goes here</option> | |
<option value="2">Another choice could be here</option> | |
<option value="3">Yet another item to be chosen</option> | |
</optgroup> | |
<optgroup label="Group 2"> | |
<option value="4">Some text goes here</option> | |
<option value="5">Another choice could be here</option> | |
<option value="6">Yet another item to be chosen</option> | |
</optgroup> | |
<optgroup label="Group 3"> | |
<option value="7">Some text goes here</option> | |
<option value="8">Another choice could be here</option> | |
<option value="9">Yet another item to be chosen</option> | |
</optgroup> | |
</select> | |
</p> | |
<p> | |
<label for="textarea"> | |
Textarea | |
</label> | |
<br /> | |
<textarea id="textarea" name="textarea" rows="5" placeholder="This is an example of HTML5 placeholder text."></textarea> | |
</p> | |
<table class="horiz"> | |
<tr> | |
<td> | |
<label for="url"> | |
URL + Autofocus | |
</label> | |
<br /> | |
<input type="url" id="url" name="url" value="http://" autofocus="autofocus" /> | |
</td> | |
<td> | |
<label for="email"> | |
</label> | |
<br /> | |
<input type="email" id="email" name="email" placeholder="[email protected]" /> | |
</td> | |
<td> | |
<label for="password"> | |
Password | |
</label> | |
<br /> | |
<input type="password" id="password" name="password" placeholder="Alphanumeric123!" /> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<label for="datetime-local"> | |
Datetime local | |
</label> | |
<br /> | |
<input type="datetime-local" id="datetime-local" name="datetime-local" /> | |
</td> | |
<td> | |
<label for="number"> | |
Number | |
</label> | |
<br /> | |
<input type="number" id="number" name="number" min="0" max="999" step="1" /> | |
</td> | |
<td> | |
<label for="tel"> | |
Tel (phone) | |
</label> | |
<br /> | |
<input type="tel" id="tel" name="tel" /> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<label for="datetime"> | |
Datetime | |
</label> | |
<br /> | |
<input type="datetime" id="datetime" name="datetime" /> | |
</td> | |
<td> | |
<label for="date"> | |
Date | |
</label> | |
<br /> | |
<input type="date" id="date" name="date" /> | |
</td> | |
<td> | |
<label for="month"> | |
Month | |
</label> | |
<br /> | |
<input type="month" id="month" name="month" /> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<label for="search"> | |
Search | |
</label> | |
<br /> | |
<input type="search" id="search" name="search" /> | |
</td> | |
<td> | |
<label for="range"> | |
Range | |
</label> | |
<br /> | |
<input type="range" id="range" name="range" /> | |
</td> | |
<td> | |
<label for="file"> | |
File upload | |
</label> | |
<br /> | |
<input type="file" id="file" name="file" /> | |
</td> | |
</tr> | |
</table> | |
<p> | |
<input type="submit" value="Input - Submit" /> | |
| |
<input type="button" value="Input - Button" /> | |
| |
<input type="reset" value="Input - Reset" /> | |
| |
<button>Button tag</button> | |
</p> | |
</form> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment