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). 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. Autoprefixer uses Browserslist, so you can specify the browsers you want to target in your project with queries. It can help you get prefixes for: animations, transition, transform, grid, flex, flexbox and others. You can configure which browsers to generate prefixes for in the distribution. The IE grid layout polyfill is enabled, which is not by default in autoprefixer. Autoprefixer can be used to translate modern CSS Grid syntax into IE 10 and IE 11 syntax, but this polyfill will not work in 100% of cases. This is why it is disabled by default.

Features

  • You can parse CSS and add vendor prefixes to CSS rules
  • Recommended by Google
  • Used in Twitter and Alibaba
  • Write CSS rules without vendor prefixes
  • Uses the data based on current browser popularity to apply prefixes
  • Configure which browsers to generate prefixes for in the distribution

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Autoprefixer

Autoprefixer Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Autoprefixer!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Browser Extensions and Plugins

Registered

2021-02-25