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() dont work! #551

Closed
ghost opened this issue Apr 12, 2014 · 1 comment
Closed

calc() dont work! #551

ghost opened this issue Apr 12, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 12, 2014

When i trying to compile width: clac(100% - 50px), i some times can see thar result:

a

@Krinkle
Copy link
Collaborator

Krinkle commented May 16, 2014

Looks like this is a bug (or feature) in Less.js upstream. Please report upstream at https://github.com/less/less.js.

Trying on http://less2css.org/

.test-1 {
    margin: calc(100% - 50px);
}
.test-1 {
  margin: calc(50%);
}

@Krinkle Krinkle closed this as completed May 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant