Import regular CSS file in SCSS file?

后端 未结 13 1621
旧巷少年郎
旧巷少年郎 2020-11-22 06:19

Is there anyway to import a regular CSS file with Sass\'s @import command? While I\'m not using all of the SCSS syntax from sass, I do still enjoy it\'s combini

13条回答
  •  一个人的身影
    2020-11-22 06:30

    Good news everyone, Chris Eppstein created a compass plugin with inline css import functionality:

    https://github.com/chriseppstein/sass-css-importer

    Now, importing a CSS file is as easy as:

    @import "CSS:library/some_css_file"
    

提交回复
热议问题