学习?学个屁 06c63c15cc 初始化提交 10 ماه پیش
..
bin 06c63c15cc 初始化提交 10 ماه پیش
data 06c63c15cc 初始化提交 10 ماه پیش
lib 06c63c15cc 初始化提交 10 ماه پیش
LICENSE 06c63c15cc 初始化提交 10 ماه پیش
README.md 06c63c15cc 初始化提交 10 ماه پیش
package.json 06c63c15cc 初始化提交 10 ماه پیش

README.md

Autoprefixer Cult Of Martians

<img align="right" width="94" height="71"

 src="https://postcss.github.io/autoprefixer/logo.svg"
 title="Autoprefixer logo by Anton Lovchikov">

PostCSS plugin to parse CSS and add vendor prefixes to CSS rules using values from Can I Use. It is recommended by Google and used in Twitter and Alibaba.

Write your CSS rules without vendor prefixes (in fact, forget about them entirely):

::placeholder {
  color: gray;
}

.image {
  background-image: url(image@1x.png);
}
@media (min-resolution: 2dppx) {
  .image {
    background-image: url(image@2x.png);
  }
}

Autoprefixer will use the data based on current browser popularity and property support to apply prefixes for you. You can try the interactive demo of Autoprefixer.

::-moz-placeholder {
  color: gray;
}
::placeholder {
  color: gray;
}

.image {
  background-image: url(image@1x.png);
}
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 2dppx) {
  .image {
    background-image: url(image@2x.png);
  }
}

Twitter account for news and releases: @autoprefixer.

Sponsored by Evil Martians

Docs

Read full docs here.