Last active
August 29, 2015 14:07
-
-
Save kenwheeler/6a56409f2524862f1f6e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" class="input" placeholder="Put text in me"/> | |
<input type="text" class="error-input" placeholder="Something went wrong!"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
%input-style { | |
border-radius: 3px; | |
color: #555; | |
font-size: 17px; | |
padding: 10px 20px; | |
display: inline-block; | |
outline: 0; | |
} | |
.input { | |
@extend %input-style; | |
border: 4px solid #ddd; | |
} | |
.error-input { | |
@extend %input-style; | |
border:4px solid #e74c3c; | |
} | |
body { | |
text-align: center; | |
padding-top: 100px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.input, .error-input { | |
border-radius: 3px; | |
color: #555; | |
font-size: 17px; | |
padding: 10px 20px; | |
display: inline-block; | |
outline: 0; | |
} | |
.input { | |
border: 4px solid #ddd; | |
} | |
.error-input { | |
border: 4px solid #e74c3c; | |
} | |
body { | |
text-align: center; | |
padding-top: 100px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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