Skip to content

Instantly share code, notes, and snippets.

@matthewcopeland
Created July 4, 2012 08:43
Show Gist options
  • Save matthewcopeland/3046139 to your computer and use it in GitHub Desktop.
Save matthewcopeland/3046139 to your computer and use it in GitHub Desktop.
simple sample _partial.scss file. this partial only needs to apply positional styles because all visual styles are driven by @Mixins from a controlled source.
// simple sample _partial.scss file.
// this partial only needs to apply positional style
// because all visual styles are driven by @mixins from a controlled source.
.modal.form {
form {
p {
display: inline-block;
width: 50%;
margin: 10px 0;
padding: 0 5px; } // p
input { width: 100%; } // input
} // form
input[type=submit] {
float: right;
margin-right: 5px;
@include blue-button;
display: block;
width: auto; } // input[type=submit]
} // .modal.form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment