css-auto-prefix installs statistics
By sporiley · VS Code Marketplace · Other
Adds vendor prefixes (-webkit-, -moz-, -ms-, -o-) to CSS/SCSS/LESS properties as you type, or on demand
css-auto-prefix has 671,906 recorded installs on VS Code Marketplace, an increase of 0.3% over the past 30 days, ranking #718 of 2,515 tracked listings.
Rating: 3.77 / 5 from 13 ratings
About css-auto-prefix
css-auto-prefix
For use with Visual Studio Code
0.3.0
Adds vendor prefixes (-webkit-, -moz-, -ms-, -o-) to CSS, SCSS and LESS properties, either as you type or on demand for code that already exists.
Functionality
Finish a declaration — type the ;, press Enter, or close the block — and the prefixed copies appear above it, so the standard W3C property always comes last:
#my-element {
-webkit-user-select: none;
user-select: none;
}

- Works for indented and single-line blocks, and for nested SCSS/LESS blocks (
&:hover { ... }is left alone when you type above it). - Values are copied exactly, with one space after the colon and none before the semicolon.
- Strings, comments and
url(...)are opaque:content: ':'or adata:URI before your property will not be split. - If a prefixed line already exists with a stale value, it is updated in place instead of duplicated.
- Each insertion is one edit, so a single
Ctrl+Ztakes the prefixes back — and they stay gone until you change the value.
Commands
Open the command palette (Ctrl+Shift+P / Cmd+Shift+P) and type "CSS Auto Prefix":
- CSS Auto Prefix: Prefix File — prefixes every property in the current file.
- CSS Auto Prefix: Prefix Selection — prefixes the properties inside the selection(s); with no selection, the declaration under the cursor.
Both work even when css-auto-prefix.enabled is off, and both are a single undo step.
Settings
| Setting | Default | What it does |
|---|---|---|
css-auto-prefix.enabled | true | Prefix automatically as you type. |
css-auto-prefix.prefixPosition | "before" | "before" puts the prefixed lines above the standard property (W3C last); "after" restores the 0.2.0 layout. |
css-auto-prefix.prefixes | modern set | Which properties get which prefixes. The default only lists properties that still need a prefix somewhere: appearance, backdrop-filter, background-clip, box-decoration-break, clip-path, hyphens, initial-letter, line-clamp, mask / mask-*, print-color-adjust, text-size-adjust, user-select. |
css-auto-prefix.includeLegacy | false | Also prefix the long-unprefixed properties (transform, transition, border-radius, animation, filter, ...) from the 0.2.0 table. |
css-auto-prefix.legacyPrefixes | 0.2.0 table | The legacy table used when includeLegacy is on. |
Setting css-auto-prefix.prefixes yourself replaces the default table (as in 0.2.0), so add anything you want to keep.
Requirements
VS Code 1.75 or newer. No other requirements.
Development
The prefixing logic is a pure module, lib/prefixer.js, that takes document text plus an offset or range and returns offset edits; extension.js is only the VS Code adapter. npm test runs the node test suite (no VS Code needed).
Known Issues
- Properties are matched by name only, so
background-clipgets-webkit-background-clipfor every value, not justtext. - The indented Sass syntax (
.sass) is not supported, only.scss.
Release Notes
See CHANGELOG.md.
Description from the VS Code Marketplace listing.
- autoprefixer
- css
- less
- scss
- vendor prefix
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Other plugins
All 20 css-auto-prefix alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=sporiley.css-auto-prefix. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.