Is it possible to create functions (or something else) that include selectors with SASS?

后端 未结 0 1490
抹茶落季
抹茶落季 2021-01-22 22:23

I want to be able to write:

div {
    background-size: 100%;
    @bgimgfunction(\'img1.png\');
}

and have SASS produce something like:

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题