stylus / nib

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

Request: disable vendor prefixing completely #312

Open eyy opened 8 years ago

eyy commented 8 years ago

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

eyy commented 8 years ago

For now I write the following before importing nib:

flex-version = flex
support-for-ie = false
vendor-prefixes = official
dbox commented 8 years ago

+1

Thanke @eyy. Solve and error for me.

arecvlohe commented 8 years ago

+1 same issue here

PhiLhoSoft commented 8 years ago

@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 https://github.com/jescalan/autoprefixer-stylus/issues/25, because Autoprefixer complained about obsolete generated Flexbox code, so it is a bit unrelated, but it doesn't hurt either.

intermundos commented 5 years ago

The issue is still here, in 2018.

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

this fixes it.

krabbypattified commented 5 years ago

Issue still here in 2019 :(

screenshot 2019-02-26 at 14 04 31
g-rodigy commented 4 years ago

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