Skip to content

Instantly share code, notes, and snippets.

@akoebbe
Last active May 30, 2019 18:32
Show Gist options
  • Save akoebbe/f5f028f2df23e5ca1709 to your computer and use it in GitHub Desktop.
Save akoebbe/f5f028f2df23e5ca1709 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
> 1%
last 2 versions
<div class="message">
Here is an important message!
</div>
<div class="message-error">
Here is an important message!
</div>
// ----
// Sass (v3.4.25)
// Compass (v1.0.3)
// ----
.message {
padding: .5em;
margin: 1em 0;
background: lightgrey;
border: solid 1px darkgrey;
color: black;
}
.message-error {
@extend .message;
border-color: red;
border-width: 3px;
}
.message, .message-error {
padding: .5em;
margin: 1em 0;
background: lightgrey;
border: solid 1px darkgrey;
color: black;
}
.message-error {
border-color: red;
border-width: 3px;
}
<div class="message">
Here is an important message!
</div>
<div class="message-error">
Here is an important message!
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment