可以使用&符号再简化一下
.main-sec
font-family: '$main-sec-ff'
@at-root
&-headline
font:
family: '$main-sec-ff'
size: 16px
&-detail
font-size: 12px
.main-sec
font-family: '$main-sec-ff'
@at-root
&-headline
font:
family: '$main-sec-ff'
size: 16px
&-detail
font-size: 12px
2019-01-10