Compass Ellipsis Syntax

I feel like an idiot, but I really can't figure it out.

I am using John Long . Sass Twitter Bootstrap converts the usual Twitter Bootstrap elements. Located here on github

Whenever I compile it, I get the following error:

error sass/bootstrap.scss (Line 246 of sass/bootstrap/_mixins.scss: Invalid CSS after "...-shadow($shadow": expected ")", was "...) { ") Sass::SyntaxError on line ["246"] of C: Invalid CSS after "...-shadow($shadow": expected ")", was "...) { " 

Here is the syntax he complains about:

 // Drop shadows @mixin box-shadow($shadow...) { -webkit-box-shadow: $shadow; -moz-box-shadow: $shadow; box-shadow: $shadow; } 

I have never seen this syntax before using dots on a mix.

My question is how to fix this error. This is clearly the problem that I have.

I am using Compass v0.12.2

+6
source share
2 answers

This is the syntax for variable arguments: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#variable_arguments

You will need to upgrade Sass, as this is a new 3.2x feature.

+12
source

It looks like you need to update the sass stone, try this line (I assume you have gem installed)

  gem update sass 
+1
source

All Articles