Skip to content

Instantly share code, notes, and snippets.

@JackieXu
Created November 12, 2015 15:28
Show Gist options
  • Save JackieXu/68a1f2ac5b8bcc8e7767 to your computer and use it in GitHub Desktop.
Save JackieXu/68a1f2ac5b8bcc8e7767 to your computer and use it in GitHub Desktop.
Untitled
label {
display: block;
}
<form method="get" action="">
<fieldset>
<legend>User Picker</legend>
<label for="user">User</label>
<select name="user" id="user">
<option disabled selected>Select a user</option>
<option value="5">Jackie</option>
</select>
</fieldset>
</form>
<form method="post" action="">
<fieldset>
<legend>Buffer builder</legend>
<label for="title">Post Title</label>
<input id="title" type="text" placeholder="How to earn half a million a week" />
<label for="body">Post Body</label>
<textarea id="body" placeholder="Start off by creating a company in education, then trick the parents for cha-ching cha-ching!"></textarea>
<label for="files">Images</label>
<input type="file" id="files" multiple="multiple" />
<div id="images"></div>
<input type="submit" value="Add post" />
</fieldset>
</form>
<div id="buffer">
<h4>Current buffer</h4>
<p>There's nothing in the buffer right now. So start adding!</p>
<table>
<thead>
<tr>
<th>Title</th>
<th>Date</th>
</tr>
</thead>
<tbody id="buffer-body">
</tbody>
</table>
</div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment