New to SASS. Why am I getting the following warning?
$ sass --watch index.s.css:index.css --debug-info
WARNING on line 13 of index.s.css:
This selector doesn't have any properties and will not be rendered.
error index.s.css (Line 15: Invalid CSS after "border-box": expected expression (e.g. 1px, bold), was ";")
Lines 13–18:
*
{
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
I should note that this has nothing to do with the vendor prefixes, which I’ve tried removing. I also changed box-sizing: border-box
to color: pink
. Still complains.
Edit: I didn’t realize SASS had two syntaxes, nor that they were selected based on the filename extension. I want to use SCSS, but have to name the files *.s.css
because I’m using the Adobe Brackets beta, which currently only has syntax highlighting for plain CSS files. I discovered the --scss
flag to force that syntax, but I still get the same error.