Skip to content

Instantly share code, notes, and snippets.

@msecret
Created January 22, 2016 18:43
Show Gist options
  • Save msecret/9c5248cc26db0d8ae8c3 to your computer and use it in GitHub Desktop.
Save msecret/9c5248cc26db0d8ae8c3 to your computer and use it in GitHub Desktop.
// style.css
form#donation div label {
margin: 0 0 5px 0;
}
form#donation div input {
margin: 1em 0 5px 0;
}
#donation button.btn {
padding: 5px 10px;
background: blue;
color: #fff;
}
// partials/donation.html
<form id="donation">
<div>
<label>First name</label>
<input type="text" name="fname" />
<label>Last name</label>
<input type="text" name="lname" class="btn" />
</div>
<button type="submit">donate</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment