SCSS Variables as @extend class

后端 未结 2 1240

My idea is that I would like to write silent classes for input[type=text], input[type=\"password\"] and input[type=submit]. I would th

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-04 08:13

    try using variables interpolation

    @extend #{$type};
    

    Further information on SASS Reference

提交回复
热议问题