.item {
background: white;
&:hover {
background: red;
}
}
@mixin clearfix {
&:before,
&:after {
content:'';
display: table;
}
&:after {
clear:both;
}
}
.item {
@include clearfix;
}
Contextual class
.item {
#abc & { // #abc .item {}
color: red;
}
}