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

-webkit-box-orient is not found #3429

Open
uzairali001 opened this Issue May 12, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@uzairali001

uzairali001 commented May 12, 2017

No description provided.

@uni-zheng

This comment has been minimized.

Show comment
Hide comment
@uni-zheng

uni-zheng Mar 5, 2018

-webkit-box-orient is removed in autoprefixer compiled file

uni-zheng commented Mar 5, 2018

-webkit-box-orient is removed in autoprefixer compiled file

@zhulin2609

This comment has been minimized.

Show comment
Hide comment
@zhulin2609

zhulin2609 commented May 16, 2018

@uni-zheng why?

@uni-zheng

This comment has been minimized.

Show comment
Hide comment
@uni-zheng

uni-zheng May 18, 2018

@zhulin2609 我也忘了我为什么说了这句话 😄


想起来了 autoprefixer 会将 -webkit-box-orient 移除,因为 autoprefixer 的工作原理是查阅 caniuse 的结果。

但有时候又需要这个属性,就需要配置一下 autoprefixer 来跳过

/* autoprefixer: off */
// 关闭的原因是编译会丢失 -webkit-box-orient
-webkit-box-orient: vertical;
/* autoprefixer: on */

uni-zheng commented May 18, 2018

@zhulin2609 我也忘了我为什么说了这句话 😄


想起来了 autoprefixer 会将 -webkit-box-orient 移除,因为 autoprefixer 的工作原理是查阅 caniuse 的结果。

但有时候又需要这个属性,就需要配置一下 autoprefixer 来跳过

/* autoprefixer: off */
// 关闭的原因是编译会丢失 -webkit-box-orient
-webkit-box-orient: vertical;
/* autoprefixer: on */
@zhulin2609

This comment has been minimized.

Show comment
Hide comment
@zhulin2609

zhulin2609 May 18, 2018

@uni-zheng 多谢,我觉得这个issue可以关掉了。

zhulin2609 commented May 18, 2018

@uni-zheng 多谢,我觉得这个issue可以关掉了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment