Last active
June 4, 2016 05:11
-
-
Save kenwheeler/53882d3cac1fe93d0221 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 { | |
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; | |
} |
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; | |
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; | |
} |
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