What is autoprefixer?
2 August 2024 (Updated 2 August 2024)
Autoprefixer is a PostCSS plugin that parses your CSS and adds vendor prefixes by using data from caniuse.com
For example, you can write CSS like this:
You can use browserslist via a .browserslistrc
file or a browserslist
field in package.json
to configure which browsers you want to support with queries like > 5%
(for browsers with at least 5% markets share) and Autoprefixer will apply the appropriate prefixes:
Sources/links
Tagged:
CSS
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment