-
Notifications
You must be signed in to change notification settings - Fork 70
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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"
The text was updated successfully, but these errors were encountered: