Created
February 3, 2015 07:44
-
-
Save halfskill/ae2b143386c3b8394a25 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
<p class="error"> | |
Error | |
</p> | |
<p class="success"> | |
Operation is successful | |
</p> | |
<p class="warning"> | |
Warning Do not... | |
</p> |
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.11) | |
// Compass (v1.0.3) | |
// ---- | |
%message { | |
padding:10px; | |
width:150px; | |
text-align:center; | |
color: #444; | |
} | |
.error { | |
border: 1px solid red; | |
@extend %message; | |
} | |
.success { | |
border: 1px solid green; | |
@extend %message; | |
} | |
.warning { | |
border: 1px solid yellow; | |
@extend %message; | |
} |
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
.error, .success, .warning { | |
padding: 10px; | |
width: 150px; | |
text-align: center; | |
color: #444; | |
} | |
.error { | |
border: 1px solid red; | |
} | |
.success { | |
border: 1px solid green; | |
} | |
.warning { | |
border: 1px solid yellow; | |
} |
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
<p class="error"> | |
Error | |
</p> | |
<p class="success"> | |
Operation is successful | |
</p> | |
<p class="warning"> | |
Warning Do not... | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment