在别人的代码里看到了如下片段,看不懂?这是什么?
@include b($block) {
$B: 'fa-' + $block;
@at-root .#{$B} {
@content;
}
}
@include e($element) {
$E: $element;
@at-root #{&}--#{$E} {
@content;
}
}
@include m($modifier) {
$M: $modifier;
@at-root #{&}__#{$M} {
@content;
}
}
@include when($state) {
$S: 'is-' + $state;
@at-root .#{$S} {
@content;
}
}