我projects.css.scss文件看起來像波紋管一個,SCSS樣式表問題軌3.1
// Place all the styles related to the Projects controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
$right-container-background: #3BBFCE;
$right-container-padding: 2px;
.right-container{
background-color: $right-container-background;
color: white;
padding-left: $right-container-padding;
padding-right: $right-container-padding;
}
它說,所有的樣式將被自動添加到您的application.css。
但我不能夠使用它,而不用導入到application.css 即
@charset "utf-8";
@import "projects.css.scss";
@import "partners.css.scss";
所以,雖然我在考慮項目部分是,它是不會加載所有。在application.css中導入的scss文件?
你可以添加整個'application.css'嗎? –
我已經提供了我的application.css在上面 –