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

在css中加了这行代码 -webkit-box-orient:vertical; 在build后自动给我删除了? #137

Closed
kaykie opened this issue Apr 23, 2018 · 2 comments

Comments

@kaykie
Copy link

kaykie commented Apr 23, 2018

1. Information

OS & version Node version Dawn version
your-version your-version your-version
0.12.0

2. Problem

Describe your problems in as much detail as possible
我在开发环境写的一行css代码 -webkit-box-orient:vertical;
在build后,这行代码没了,这算是bug吗?

3. Recurrence

The steps of problem recurrence

@xdlrt
Copy link
Collaborator

xdlrt commented Apr 24, 2018

这个不是dawn本身的bug,是autoprefixer的一个已知问题,可以通过如下方式解决:

  /*! autoprefixer: off */
  -webkit-box-orient: vertical;
  /* autoprefixer: on */

@kaykie
Copy link
Author

kaykie commented Apr 24, 2018

这样啊 666

@Houfeng Houfeng closed this as completed Apr 24, 2018
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

3 participants