Skip to content

some css code will disappear when I build the project #367

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

Closed
warwr1ck opened this issue Feb 22, 2017 · 2 comments
Closed

some css code will disappear when I build the project #367

warwr1ck opened this issue Feb 22, 2017 · 2 comments

Comments

@warwr1ck
Copy link

warwr1ck commented Feb 22, 2017

some CSS code will disapper when I run npm run dev .
when I build the whole project by using npm run build command the dist css do not contain some CSS code.

for example, a class named .box

.box{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-pack: center;
  -webkit-box-align: center;
}

when I npm run dev and check the style in broswer(chrome). I can't find the -webkit-box-orient: vertical;
when I npm run build the dist app.css file do no contain the -webkit-box-orient: vertical either. the others are still there

@posva
Copy link
Member

posva commented Feb 22, 2017

Hello!
Please, open the issue on the relevant template repo (I think you're using the webpack one) and provide some steps to reproduce the problem.
Thanks!


It's probably removing them but you shouldn't be using those properties:https://developer.mozilla.org/en-US/docs/Web/CSS/box-orient

@posva posva closed this as completed Feb 22, 2017
@andredewaard
Copy link

Any fix for this?

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