Is it possible in SASS to inherit from a class in another file?

前端 未结 4 1302
长情又很酷
长情又很酷 2020-12-13 03:29

The question pretty much says it all.

For instance, if I were using, say, Twitter Bootstrap, could I define classes in my own SASS stylesheet that inherit from Boots

4条回答
  •  温柔的废话
    2020-12-13 03:37

    To my knowledge, you have to use @import of the file containing the classes you want to use into your SASS file in order to utilize them in that file. However, I am not a SASS/SCSS expert, so someone may know of another way to remotely use them that I am not aware of.

提交回复
热议问题