Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website. Use when: CSS preprocessing and transformations; vendor autoprefixing; style bundling. NOT for: JavaScript module bundling; HTML template generation.
Install
npx skillscat add yusenthebot/skills-pack/autoprefixer Install via the SkillsCat registry.
SKILL.md
autoprefixer
Overview
Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website. It is recommended by Google and used in Twitter and Alibaba.
Installation
npm install autoprefixerCore API / Usage
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.Common Patterns
Refer to the official documentation for common patterns, recipes, and advanced usage examples.
Configuration
See the official documentation for configuration options and advanced settings.
Tips & Gotchas
- Works in both Node.js and browser environments.
- Current version: 10.4.27. Check the changelog when upgrading across major versions.