mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 12:35:03 +01:00
ae2544f621
You can't use border-color like that, can you? Border color should just be a color.
23 lines
251 B
Markdown
23 lines
251 B
Markdown
```scss
|
|
.message {
|
|
border: 1px solid #ccc;
|
|
padding: 10px;
|
|
color: #333;
|
|
}
|
|
|
|
.success {
|
|
@extend .message;
|
|
border-color: green;
|
|
}
|
|
|
|
.error {
|
|
@extend .message;
|
|
border-color: red;
|
|
}
|
|
|
|
.warning {
|
|
@extend .message;
|
|
border-color: yellow;
|
|
}
|
|
```
|