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 combining/compressing features, and would like to be able to use it without renaming all of my files to *.scss
Is there anyway to import a regular CSS file with Sass’s @import command? While
Share
Looks like this is unimplemented, as of the time of this writing:
https://github.com/sass/sass/issues/193
For libsass (C/C++ implementation), import works for
*.cssthe same way as for*.scssfiles – just omit the extension:This will import
path/to/file.css.See this answer for further details.
See this answer for Ruby implementation (sass gem)