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

Option: vendor-prefix-align #17

Closed
nataschachu opened this issue Aug 7, 2013 · 3 comments
Closed

Option: vendor-prefix-align #17

nataschachu opened this issue Aug 7, 2013 · 3 comments
Milestone

Comments

@nataschachu
Copy link
Contributor

Default value — false (no changes will be made).

Available value: Boolean true — rules are indented by base rule name, values — by colon.

Example:

"vendor-prefix-align": true

Before:

a {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
b {
  background: -webkit-gradient(linear, left top, right top, color-stop(0,rgba(255,255,255,0)), color-stop(20%, #fff));
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0, #fff 20%);
  background: -o-linear-gradient(left, rgba(255,255,255,0) 0, #fff 20%);
  background: -ms-linear-gradient(left, rgba(255,255,255,0) 0, #fff 20%);
  background: linear-gradient(to right, rgba(255,255,255,0) 0, #fff 20%);
}

After:

a {
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}
b {
  background: -webkit-gradient(linear, left top, right top, color-stop(0,rgba(255,255,255,0)), color-stop(20%, #fff));
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0, #fff 20%);
  background:   -o-linear-gradient(left, rgba(255,255,255,0) 0, #fff 20%);
  background:  -ms-linear-gradient(left, rgba(255,255,255,0) 0, #fff 20%);
  background:      linear-gradient(to right, rgba(255,255,255,0) 0, #fff 20%);
}
@L0stSoul
Copy link
Contributor

я могу заняться через недельку гдето :)

@L0stSoul
Copy link
Contributor

а никто небудет против если я не буду усложнять все это дело синонимами типа -webkit-gradient( и -moz-linear-gradient) это усложннит логику и нафиг некому ненужно имхо :)

@L0stSoul
Copy link
Contributor

вобщем я сделаю без синонимов, если нужно будет - ктонибудь потом впилит ну или я допилю, на данный момент мне кажется это лишнее усложнение.

L0stSoul added a commit to L0stSoul/csscomb.js that referenced this issue Nov 1, 2013
mishanga added a commit that referenced this issue Nov 6, 2013
Option: vendor-prefix-align (close #17)
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

2 participants