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

width: max-content doesn't come with webkit and moz prefix #321

Open
hungtuchen opened this issue Feb 14, 2016 · 4 comments
Open

width: max-content doesn't come with webkit and moz prefix #321

hungtuchen opened this issue Feb 14, 2016 · 4 comments

Comments

@hungtuchen
Copy link

if I use

.foo
  width max-content

I only get

.foo {
  width: max-content;
}

Not the output as below I expected

.foo {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

Was that intentional?

@seleckis
Copy link

Use PostCSS Autoprefixer plugin instead.

@orta-sanz
Copy link

Try to answer the question instead of free spam @seleckis

@seleckis
Copy link

This is not spam. Nib is old and is not developing for a year. New solutions are coming, so there is no need to use nib mixins which generates vendor prefixed. Nib should be updated to reduce mixins which could be duplicated by autoprefixer. Instead other useful mixins needed.

@acauamontiel
Copy link

I created a plugin called Mantis Toolkit a few years ago in line with the new CSS solutions available.

So using the Mantis Toolkit in conjunction with PostCSS does everything the NIB did and even better.

https://github.com/acauamontiel/mantis-toolkit

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

4 participants