Skip to content
New issue

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

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

Already on GitHub? # to your account

invalid operand for multiplication #549

Closed
jzaefferer opened this issue Oct 17, 2014 · 2 comments · Fixed by #743
Closed

invalid operand for multiplication #549

jzaefferer opened this issue Oct 17, 2014 · 2 comments · Fixed by #743

Comments

@jzaefferer
Copy link

jzaefferer commented Oct 17, 2014

This works with compass:

filter: alpha(opacity= $value * 100 );

But fails with libsass, at least when used with grunt-sass -> node-sass -> libsass. I guess its not exactly a new issue, though not quite the same as, for example, #152.

This seems to work as a workaround:

$percentage: $value * 100;
filter: alpha(opacity=$percentage);
@HamptonMakes
Copy link
Member

Thanks for the report, @jzaefferer! We'll look into this one!

@xzyfer
Copy link
Contributor

xzyfer commented Oct 29, 2014

Spec added sass/sass-spec#104.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants