Last active
June 22, 2016 14:13
-
-
Save alansemenov/12e362706cc05185b9141696dea9b612 to your computer and use it in GitHub Desktop.
This file contains 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> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width, user-scalable=no"> | |
<meta name="theme-color" content="#ffffff"> | |
<title>My ugly form</title> | |
<style> | |
form { | |
padding: 20px; | |
} | |
.left-side { | |
margin-right: 100px; | |
display: inline-block; | |
} | |
.left-side div { | |
display: block; | |
} | |
.left-side fieldset { | |
margin: 20px 0; | |
} | |
.left-side fieldset > label { | |
padding-right: 20px; | |
} | |
.right-side { | |
vertical-align: top; | |
display: inline-block; | |
} | |
.toolbar-section { | |
width: 100%; | |
margin-top: 50px; | |
} | |
.info-section { | |
margin: 15px 0; | |
} | |
.info-section > * { | |
display: inline-block; | |
vertical-align: top; | |
} | |
.info-section table { | |
margin-right: 200px; | |
} | |
.info-section ul li { | |
padding: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<form method="POST"> | |
<div> | |
<div class="left-side"> | |
<div> | |
<label>Full name:</label> | |
<input type="text" name="full_name" /> | |
</div> | |
<div> | |
<label>Email:</label> | |
<input type="text" name="email" /> | |
</div> | |
<div> | |
<label>Contact phone:</label> | |
<input type="text" name="phone" /> | |
</div> | |
<div> | |
<label>Education:</label> | |
<select name="education"> | |
<option value=""></option> | |
<option value="school">High school</option> | |
<option value="bachelor">Bachelor</option> | |
<option value="master">Master</option> | |
<option value="phd">PhD</option> | |
</select> | |
</div> | |
<fieldset> | |
<legend><b>Sex</b></legend> | |
<label> | |
<input type="radio" id="list-option-1" name="sex" value="male" /> Male | |
</label> | |
<label> | |
<input type="radio" id="list-option-2" name="sex" value="female" /> Female | |
</label> | |
<label> | |
<input type="radio" id="list-option-3" name="sex" value="notsure" /> Yes, please | |
</label> | |
</fieldset> | |
<fieldset> | |
<legend><b>Strong sides</b></legend> | |
<label> | |
<input type="checkbox" id="list-checkbox-1" checked /> | |
<span>Will code for food</span> | |
</label> | |
<label> | |
<input type="checkbox" id="list-checkbox-2" checked /> | |
<span>Hate vacations</span> | |
</label> | |
</fieldset> | |
</div> | |
<div class="right-side"> | |
<div> | |
<label for="my-textarea">Describe your experience<br></label> | |
<textarea rows="12" cols="50" name="description" id="my-textarea"></textarea> | |
</div> | |
</div> | |
</div> | |
<div class="info-section"> | |
<table> | |
<thead> | |
<tr> | |
<th>Days</th> | |
<th>Worktime</th> | |
<th>Break</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>Mon-Fri</td> | |
<td>09:00 - 17:00</td> | |
<td>12:00 - 12:30</td> | |
</tr> | |
<tr> | |
<td>Sat</td> | |
<td>08:00 - 19:00</td> | |
<td>12:00 - 12:15</td> | |
</tr> | |
<tr> | |
<td>Sun</td> | |
<td>06:00 - 22:00</td> | |
<td>None</td> | |
</tr> | |
</tbody> | |
</table> | |
<fieldset> | |
<legend><b>We have offices in</b></legend> | |
<ul> | |
<li>New York</li> | |
<li>London</li> | |
<li>Paris</li> | |
</ul> | |
</fieldset> | |
</div> | |
<div class="toolbar-section"> | |
<button type="submit" name="submit">OK</button> | |
<button type="reset" name="reset">Cancel</button> | |
</div> | |
</form> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment