Created
October 24, 2015 16:21
-
-
Save lisacatalano/c2c3cf6f73a796c73fff to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
<div class="warning">Don't do it</div> | |
<div class="error">That is just wrong</div> | |
<div class="success">Yes!!!</div> |
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.message { | |
width: 30%; | |
margin: 30px auto; | |
height: 30px; | |
font: 20px sans-serif; | |
text-align: center; | |
padding: 10px; | |
border: 1px solid #444; | |
border-radius: 5px; | |
} | |
.warning { | |
@extend .message; | |
background-color: fade-out(yellow, .7); | |
} | |
.error { | |
@extend .message; | |
background-color: fade-out(red, .7); | |
} | |
.success { | |
@extend .message; | |
background-color: fade-out(green, .7); | |
} |
This file contains hidden or 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
.message, .warning, .error, .success { | |
width: 30%; | |
margin: 30px auto; | |
height: 30px; | |
font: 20px sans-serif; | |
text-align: center; | |
padding: 10px; | |
border: 1px solid #444; | |
border-radius: 5px; | |
} | |
.warning { | |
background-color: rgba(255, 255, 0, 0.3); | |
} | |
.error { | |
background-color: rgba(255, 0, 0, 0.3); | |
} | |
.success { | |
background-color: rgba(0, 128, 0, 0.3); | |
} |
This file contains hidden or 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
<div class="warning">Don't do it</div> | |
<div class="error">That is just wrong</div> | |
<div class="success">Yes!!!</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All pushing and pulling of private data is done over SSH authenticated with keys, or over HTTPS using your GitHub ,!