Skip to content

Instantly share code, notes, and snippets.

@kenwheeler
Last active June 4, 2016 05:11
Show Gist options
  • Save kenwheeler/53882d3cac1fe93d0221 to your computer and use it in GitHub Desktop.
Save kenwheeler/53882d3cac1fe93d0221 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<input type="text" class="input" placeholder="Put text in me"/>
<input type="text" class="error-input" placeholder="Something went wrong!"/>
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
.input {
border-radius: 3px;
border: 4px solid #ddd;
color: #555;
font-size: 17px;
padding: 10px 20px;
display: inline-block;
outline: 0;
}
.error-input {
@extend .input;
border:4px solid #e74c3c;
}
body {
text-align: center;
padding-top: 100px;
}
.input, .error-input {
border-radius: 3px;
border: 4px solid #ddd;
color: #555;
font-size: 17px;
padding: 10px 20px;
display: inline-block;
outline: 0;
}
.error-input {
border: 4px solid #e74c3c;
}
body {
text-align: center;
padding-top: 100px;
}
<input type="text" class="input" placeholder="Put text in me"/>
<input type="text" class="error-input" placeholder="Something went wrong!"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment