SASS Concatenate class name?

后端 未结 2 1868
渐次进展
渐次进展 2021-01-14 16:19

I got a LESS file from this a Date-picker plugin and want to convert it to SASS.

But in the LESS, it concates a class name like this:

//LESS
.dropdow         


        
2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-14 16:39

    This is not possible before version 3.2 but will be eventually. Just like LESS, the syntax will use &.

    With updated scss, you can now use the interpolation syntax &-- to DRY up your style files.

提交回复
热议问题