stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

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

Open hungtuchen opened 8 years ago

hungtuchen commented 8 years ago

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 commented 8 years ago

Use PostCSS Autoprefixer plugin instead.

orta-sanz commented 8 years ago

Try to answer the question instead of free spam @seleckis

seleckis commented 8 years ago

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 commented 1 year ago

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