-2
我越來越控制檯下面的錯誤,當我救了我的index.html文件:SCSS問題 - 錯誤阻止我看到網站
錯誤SASS/_settings.scss(9號線:無效的CSS在...之後「... r-set defaults .: expected」:「,是來自sass/app.scss的第2行的sass/_settings.scss的第9行上的」$ base-font-size ...「
刷新我的index.html頁面時也出現此錯誤,並且所有樣式都已損壞我正在使用Foundation with Compass
以下是我的_settings.scss文件中的第1 - 9:
//
// Foundation Variables
//
$top
// The default font-size is set to 100% of the browser style sheet (usually 16px)
// for compatibility with browser-based text zoom or user-set defaults.
$base-font-size: 100% !default;
// $base-line-height is 24px while $base-font-size is 16px
// $base-line-height: 150%;
// This is the default html and body font-size for the base em value.
任何人都可以幫忙嗎?謝謝。
是''//在SCSS法律意見? (我從來沒有用過它自己)他們沒有評論在CSS和根據你在說什麼 - scss編譯器似乎不把它們當作評論。或者也許你正在嘗試使用未編譯的scss作爲css文件? – NiematojakTomasz