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

calc giving wrong result #156

Open
aubrijesh opened this issue Feb 22, 2018 · 0 comments
Open

calc giving wrong result #156

aubrijesh opened this issue Feb 22, 2018 · 0 comments

Comments

@aubrijesh
Copy link

I am stuck with a small problem. I am trying to use calc function in stylus but it not working. I it giving wrong output always.
I am using grunt-contrib-stylus in grunt task runner.
when I am writting width: calc(100% - 100px); is being generated as width: calc(-300%);.
I tried width: 'calc(100% - 100px)';, width: 'calc(100% - 100px)';, width: calc(100% - 100px); but not worked.
Also tried:calc(unquote('50% - 390px')) calc(50% - 390px)solution given on : https://github.com/stylus/stylus/issues/687 it gives calc(0) as output.My package.json contains "grunt-contrib-stylus": "~0.9.0"

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

1 participant