Use these snippets if you use my Boost framework & Sublime Text
- Example page http://mrmartineau.github.com/Boost/example.html
- Grids: http://mrmartineau.github.com/Boost/grid.html
Tab triggers are listed by the titles
Remove the 'form_stacked' class to have form labels to the left of the inputs
<form action="#" class="form_stacked">
</form>
<li>
<label for="name">Label</label>
<div class="input">
<input type="text" id="name" placeholder="Zander Martineau" />
</div>
</li>
<ul>
<li>
<label for="name">Name</label>
<div class="input">
<input type="text" id="name" placeholder="Zander Martineau" />
</div>
</li>
<li>
<label for="email">Email</label>
<div class="input"><input type="email" id="email" placeholder="[email protected]" /></div>
</li>
<li>
<label for="phone">Phone</label>
<div class="input"><input type="number" id="phone" placeholder="020 123 4567" /></div>
</li>
<li>
<label for="comments">Comments</label>
<div class="input">
<textarea id="comments" rows="3" cols="50"></textarea>
</div>
</li>
</ul>
<span class="form_note">?<span>First name & last name</span></span>
<div class="row">
</div>
<div class="row">
<div class="grid_6 column">
</div>
<div class="grid_6 column">
</div>
</div>
<div class="grid_6 column">
</div>
These reference https://github.com/mrmartineau/Boost/blob/master/less/mixins.less
.border-radius(5px);
.box-shadow(0 1px 3px rgba(0,0,0,.25));
.opacity(60);
.size(10px,10px);
.square(50px);