Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inability to discern between CSS and Sass functions #474

Closed
blackfalcon opened this issue Aug 20, 2014 · 2 comments
Closed

Inability to discern between CSS and Sass functions #474

blackfalcon opened this issue Aug 20, 2014 · 2 comments

Comments

@blackfalcon
Copy link

Experimental CSS feature uses the same syntax as a Sass function. When using this new syntax, libsass throws an error as the input is not consistent with the expectations of the Sass function.

The following is the proposed experimental CSS syntax:

.class {
  filter: grayscale(50%);
}

When using this with libsass, the following error is returned:

argument `$color` of `grayscale($color)` must be a color

The only way around this currently is to use a mixin to generate the CSS rules.

@nschonni
Copy link
Collaborator

Dupe of #151

@blackfalcon
Copy link
Author

So it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants