I need to the child css class inherit the properties from their parent css class
.avatar {
  min-width: 35px;
  max-width: 35px;
  height: 35px;
  flex: 1 1 35px;
  &--home {
    margin: 10px;
  }
  &--post {
    margin: 0px 17px 0px 4px;
  }
}
I need to apply the parent class and the margin:10px; to the element that have the avatar--home class like that :
  <div class="avatar--home"></div>
This is applying just the margin: 10px; and ignoring the parent properties
 
     
    