New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

autoprefixer

Package Overview
Dependencies
Maintainers
1
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autoprefixer

Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website

Source
npmnpm
Version
10.5.5
Version published
Weekly downloads
62M
-17.99%
Maintainers
1
Weekly downloads
 
Created
Source

Autoprefixer

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.

Docs

Read full docs here.

Keywords

autoprefixer

FAQs

Package last updated on 04 Sep 2026

Related posts