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

Breaks on CSS Function #15

Closed
Spedwards opened this issue Nov 26, 2015 · 2 comments
Closed

Breaks on CSS Function #15

Spedwards opened this issue Nov 26, 2015 · 2 comments

Comments

@Spedwards
Copy link

So I use a fair bit of CSS functions in my CSS, mainly calc(), and this plugin breaks it. For example, this is one of my rules:

width: calc(100% - 2em - 100px);

After it goes through the plugin, it ends up like this:

width: calc(-2%);
@seven-phases-max
Copy link
Member

It's not the plugin, but the Less compiler itself. See --strict-math option (and less/less.js#974 for more tips).

@seven-phases-max
Copy link
Member

Closing as not plugin issue (and expected behaviour after all).

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