package
Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website
npm install autoprefixerGitHub-flavored package documentation.
Across all versions, last 30 days.
295,431,573 in 30 days
Runtime metadata.
Tagged topics.
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 {
width: stretch;
}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 {
width: -moz-available;
width: -webkit-fill-available;
width: stretch;
}Twitter account for news and releases: @autoprefixer.
Autoprefixer is built by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups.
Read full docs here.
Estimated unpacked size across 11 packages.
2.4 MB
Includes dependencies.
5 direct dependencies.
^1.1.1
1.1.1
^5.3.4
5.3.4
^4.28.9
4.29.5
^1.0.30001810
1.0.30001826
^4.2.0
4.2.0