My sublime doesnt recognize @import. What should i do to import another css through sass? -
i tried several times use @import 'reset' in sass code. unfortunately not importing. rest of code sublime highlights , recognise no problem. should @import reset.css through sass?
when @importing css files sass, need specify file extension (e.g. @import "reset.css";). see documentation.
note: importing file .css extension result in real "css import" @ runtime instead of inline sass-like import. if want inject contents of file compiled css, change file extension .scss.
Comments
Post a Comment