What are the rules of inheritance in the mix?

.container-fixed(@gutter:30px) {
  margin-right: auto;
  margin-left: auto;
  padding-left:  floor((@gutter / 2));
  padding-right: ceil((@gutter / 2));
   &:extend(.clearfix all);
}


.clearfix{
  &:before,
  &:after {
    content: " "; 
    display: table; 
  }
  &:after {
    clear: both;
  }
}

.container{
    .container-fixed()
}

compilation results

.clearfix:before,
.clearfix:after,
.container:before,
.container:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after {
  clear: both;
}
.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

it is obvious that the mixture of container-fixed inherits .clearfix, and the compilation result is container inheritance. You can"t understand it and ask for instructions

.
Sep.30,2021

treat .container-fixed as a placeholder

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b364e5-2ad49.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b364e5-2ad49.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?