Please tell me what is wrong with this HAML :sass filter syntax
-content_for :styles do
:sass
#image_column {
width: 200px;
float: right;
padding:15px;
background-color: #eee;
}
error: Invalid CS开发者_如何学运维S after "200px": expected expression (e.g. 1px, bold), was ";"
You've written SCSS instead of SASS. Try this?
- content_for :styles do
:sass
#image_column
width: 200px
float: right
padding: 15px
background-color: #eee
I had similar problem using SCOUT and naming files example.sass
Same error:
expected expression (e.g. 1px, bold), was ";")
Because i forgot change extension to .scss
Maybe this will be helpful.
精彩评论