Look what I learn today inheritance selector in sass!

[code]

.box

margin: 0 auto 10px

border: 1px solid

padding: 15px

border-radius: 5px

.error

@extend .box

background-color: red

border-color: #ccc

.success

@extend .box

background-color: green

border-color: #ccc

Normal box
Error
Success

[/code]