我正在尝试在我的rails应用程序中使用http://startbootstrap.com/stylish-portfolio但是我的Stylish-portfolio.css.scss.erb文件中出现以下错误:
ActionView::Template::Error (Invalid CSS after "body ": expected selector or at-rule, was "{"
Run Code Online (Sandbox Code Playgroud)
这是我的css文件:
@import 'bootstrap'
/* Global Styles */
html,
body {
height: 100%;
width: 100%;
}
.vert-text {
display: table-cell;
vertical-align: middle;
text-align: center;
}
.vert-text h1 {
padding: 0;
margin: 0;
font-size: 4.5em;
font-weight: 700;
}
Run Code Online (Sandbox Code Playgroud)
...