Import regular CSS file in SCSS file?

css, sass

Solution

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 `*.css` the same way as for `*.scss` files - just omit the extension:

@import "path/to/file";

This will import `path/to/file.css`.

See this answer for further details.

See this answer for Ruby implementation (sass gem)

Problem

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

Original source