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

write script to autoprefix BuildingBlocks #40

Open
gasolin opened this issue May 9, 2014 · 0 comments
Open

write script to autoprefix BuildingBlocks #40

gasolin opened this issue May 9, 2014 · 0 comments

Comments

@gasolin
Copy link
Contributor

gasolin commented May 9, 2014

The goal is generate cross platform friendly version instead of add additional cross_platform.css.

Since myth does not allow pass browser options.
use provecss could generate browser prefixes for
last 2 versions,Firefox ESR,Opera 12.1,BlackBerry 10,Android 4

We could evaluate with following command

npm install -g provecss
provecss headers.css headers.out.css --browsers all

It will add missing webkit- prefixes and keep existing moz- prefixes. So we could keep BuildingBlocks in gaia and generate cross platform friendly version.

What we need to do is

  1. write a bash script or grunt command to automate this conversion.
  2. remove cross_browser.css and use preprocessor
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

1 participant