我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在上面 –