stylus / nib

Stylus mixins, utilities, components, and gradient image generation

Home Page:http://stylus.github.io/nib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: disable vendor prefixing completely

eyy opened this issue · comments

Hi. I want to use nib together with autoprefixer. The only way I found was to disable the vendor prefixin is overriding vendor-prefixes, but nib still does some work then, and then autoprefixer complains things like "You should write display: flex by final spec instead of display: box".

Maybe wrap all of the vendor file with a condition?

Thanks,
eyy

For now I write the following before importing nib:

flex-version = flex
support-for-ie = false
vendor-prefixes = official

+1

Thanke @eyy. Solve and error for me.

+1 same issue here

@eyy's usage of support-for-ie sounded a bit scary but it is only for old versions of IE, and apparently it only sets zoom 1 and uses -ms-filter to support opacity (from a quick search...).

I came here, via jescalan/autoprefixer-stylus#25, because Autoprefixer complained about obsolete generated Flexbox code, so it is a bit unrelated, but it doesn't hurt either.

The issue is still here, in 2018.

flex-version = flex
support-for-ie = false
vendor-prefixes = official

this fixes it.

Issue still here in 2019 :(

screenshot 2019-02-26 at 14 04 31

@krabbypattified of course still here, last commit was in 2018